global site name in templates
This commit is contained in:
parent
2a68825926
commit
f8554d5f7a
|
@ -9,11 +9,11 @@
|
||||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"/>
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"/>
|
||||||
<link rel="stylesheet" href="styles.css" crossorigin="anonymous">
|
<link rel="stylesheet" href="styles.css" crossorigin="anonymous">
|
||||||
|
|
||||||
<title>{% block title %}Framdate{% endblock %}</title>
|
<title>{% block title %}{{ WEBSITE_NAME }}{% endblock %}</title>
|
||||||
{# {% block stylesheets %}#}
|
{# {% block stylesheets %} #}
|
||||||
{# <link rel="stylesheet" href="{{ asset('build/vendors~app.css') }}">#}
|
{# <link rel="stylesheet" href="{{ asset('build/vendors~app.css') }}"> #}
|
||||||
{# <link rel="stylesheet" href="{{ asset('build/app.css') }}">#}
|
{# <link rel="stylesheet" href="{{ asset('build/app.css') }}"> #}
|
||||||
{# {% endblock %}#}
|
{# {% endblock %} #}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{% include 'split/header.html.twig' %}
|
{% include 'split/header.html.twig' %}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
{% if title is defined %}
|
{% if title is defined %}
|
||||||
<h1>{{ title }}</h1>
|
<h1>{{ title }}</h1>
|
||||||
{% else %}
|
{% else %}
|
||||||
<h1>Framadate - email</h1>
|
<h1>{{ WEBSITE_NAME }} - email</h1>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<hr>
|
<hr>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
<header>
|
<header>
|
||||||
{% block title %}
|
{% block title %}
|
||||||
{% if title is defined %}
|
{% if title is defined %}
|
||||||
<h1 class="text-center">{{ title }}</h1>
|
<h1 class="text-center">{{ title }} - {{ WEBSITE_NAME }}</h1>
|
||||||
{% else %}
|
{% else %}
|
||||||
<h1 class="text-center">Framadate</h1>
|
<h1 class="text-center">{{ WEBSITE_NAME }}</h1>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<hr>
|
<hr>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="footer-content" style="text-align:center; padding: 1em;">
|
<div class="footer-content" style="text-align:center; padding: 1em;">
|
||||||
Framadate est un logiciel libre, tout le monde peut
|
{{ WEBSITE_NAME }} est un logiciel libre, tout le monde peut
|
||||||
<a href="https://framateam.org/ux-framatrucs/channels/framadate">
|
<a href="https://framateam.org/ux-framatrucs/channels/framadate">
|
||||||
l'améliorer.
|
l'améliorer.
|
||||||
</a>
|
</a>
|
||||||
|
@ -7,7 +7,7 @@
|
||||||
Merci de votre confiance.
|
Merci de votre confiance.
|
||||||
<br>
|
<br>
|
||||||
<a href="{{ BASE_URL }}">
|
<a href="{{ BASE_URL }}">
|
||||||
Framadate {{ BASE_URL }}
|
{{ WEBSITE_NAME }} {{ BASE_URL }}
|
||||||
</a>
|
</a>
|
||||||
<br>
|
<br>
|
||||||
<a href="https://framagit.org/framasoft/framadate/funky-framadate-front">
|
<a href="https://framagit.org/framasoft/framadate/funky-framadate-front">
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
Voici la liste des {{ owner.polls|length }} sondages
|
Voici la liste des {{ owner.polls|length }} sondages
|
||||||
<a href="{{ BASE_URL }}">
|
<a href="{{ BASE_URL }}">
|
||||||
Framadate
|
{{ WEBSITE_NAME }}
|
||||||
</a>
|
</a>
|
||||||
que vous avez créé.
|
que vous avez créé.
|
||||||
</h2>
|
</h2>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Framadate</title>
|
<title>{{ WEBSITE_NAME }}</title>
|
||||||
<base href="/">
|
<base href="/">
|
||||||
<meta
|
<meta
|
||||||
content="width=device-width, initial-scale=1"
|
content="width=device-width, initial-scale=1"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% extends 'base.html.twig' %}
|
{% extends 'base.html.twig' %}
|
||||||
{% block title %}migration depuis un Framadate version 1{% endblock %}
|
{% block title %}migration depuis un Framadate version 1 vers {{ WEBSITE_NAME }} version funky{% endblock %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
|
Loading…
Reference in New Issue