mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 17:42:24 +00:00
Set home title
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
parent
e258e6a337
commit
2c8f6f22f2
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
|
{% block content-title %}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="jumbotron p-5">
|
<div class="jumbotron p-5">
|
||||||
<div class="row text-center">
|
<div class="row text-center">
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
|
{% block content-title %}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="jumbotron p-5">
|
<div class="jumbotron p-5">
|
||||||
<div class="row text-center">
|
<div class="row text-center">
|
||||||
|
@ -30,7 +30,8 @@ from .views import AdminSearchView
|
|||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
# TODO ETEAM Rendre ça plus joli
|
# TODO ETEAM Rendre ça plus joli
|
||||||
path('', TemplateView.as_view(template_name=f"index_{settings.TFJM_APP.lower()}.html", extra_context=_("Home")),
|
path('', TemplateView.as_view(template_name=f"index_{settings.TFJM_APP.lower()}.html",
|
||||||
|
extra_context={'title': _("Home")}),
|
||||||
name='index'),
|
name='index'),
|
||||||
path('about/', TemplateView.as_view(template_name="about.html"), name='about'),
|
path('about/', TemplateView.as_view(template_name="about.html"), name='about'),
|
||||||
path('i18n/', include('django.conf.urls.i18n')),
|
path('i18n/', include('django.conf.urls.i18n')),
|
||||||
|
Loading…
Reference in New Issue
Block a user