1
0
mirror of https://framagit.org/tykayn/date-poll-api synced 2023-08-25 08:23:11 +02:00

global site name in templates

This commit is contained in:
Tykayn 2021-05-21 09:33:31 +02:00 committed by tykayn
parent 2a68825926
commit f8554d5f7a
7 changed files with 13 additions and 13 deletions

View File

@ -9,11 +9,11 @@
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"/>
<link rel="stylesheet" href="styles.css" crossorigin="anonymous">
<title>{% block title %}Framdate{% endblock %}</title>
{# {% block stylesheets %}#}
{# <link rel="stylesheet" href="{{ asset('build/vendors~app.css') }}">#}
{# <link rel="stylesheet" href="{{ asset('build/app.css') }}">#}
{# {% endblock %}#}
<title>{% block title %}{{ WEBSITE_NAME }}{% endblock %}</title>
{# {% block stylesheets %} #}
{# <link rel="stylesheet" href="{{ asset('build/vendors~app.css') }}"> #}
{# <link rel="stylesheet" href="{{ asset('build/app.css') }}"> #}
{# {% endblock %} #}
</head>
<body>
{% include 'split/header.html.twig' %}

View File

@ -2,7 +2,7 @@
{% if title is defined %}
<h1>{{ title }}</h1>
{% else %}
<h1>Framadate - email</h1>
<h1>{{ WEBSITE_NAME }} - email</h1>
{% endif %}
<hr>
{% endblock %}

View File

@ -9,9 +9,9 @@
<header>
{% block title %}
{% if title is defined %}
<h1 class="text-center">{{ title }}</h1>
<h1 class="text-center">{{ title }} - {{ WEBSITE_NAME }}</h1>
{% else %}
<h1 class="text-center">Framadate</h1>
<h1 class="text-center">{{ WEBSITE_NAME }}</h1>
{% endif %}
<hr>
{% endblock %}

View File

@ -1,5 +1,5 @@
<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">
l'améliorer.
</a>
@ -7,7 +7,7 @@
Merci de votre confiance.
<br>
<a href="{{ BASE_URL }}">
Framadate {{ BASE_URL }}
{{ WEBSITE_NAME }} {{ BASE_URL }}
</a>
<br>
<a href="https://framagit.org/framasoft/framadate/funky-framadate-front">

View File

@ -6,7 +6,7 @@
Voici la liste des {{ owner.polls|length }} sondages
<a href="{{ BASE_URL }}">
Framadate
{{ WEBSITE_NAME }}
</a>
que vous avez créé.
</h2>

View File

@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>Framadate</title>
<title>{{ WEBSITE_NAME }}</title>
<base href="/">
<meta
content="width=device-width, initial-scale=1"

View File

@ -1,5 +1,5 @@
{% 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 %}
<main>