From f31e13e5f2723ec4cab30f5cd9c60ea38d2d8419 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Mon, 1 Feb 2021 12:15:43 +0100 Subject: [PATCH] Add about page on the captive portal --- portail/locale/fr/LC_MESSAGES/django.po | 6 +++++- portail/templates/portail/index.html | 2 ++ portail/urls.py | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/portail/locale/fr/LC_MESSAGES/django.po b/portail/locale/fr/LC_MESSAGES/django.po index 37f53a04..0722e222 100644 --- a/portail/locale/fr/LC_MESSAGES/django.po +++ b/portail/locale/fr/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-01 12:03+0100\n" +"POT-Creation-Date: 2021-02-01 12:15+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -117,6 +117,10 @@ msgstr "" msgid "Buy a new subscription" msgstr "Payer une nouvelle adhésion" +#: templates/portail/index.html:71 +msgid "About Re2o..." +msgstr "À propos de Re2o ..." + #: templates/portail/signup.html:37 msgid "Confirm" msgstr "Confirmer" diff --git a/portail/templates/portail/index.html b/portail/templates/portail/index.html index 18a2eab2..7a98cd9e 100644 --- a/portail/templates/portail/index.html +++ b/portail/templates/portail/index.html @@ -67,4 +67,6 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endif %} + + {% trans "About Re2o..." %} {% endblock %} diff --git a/portail/urls.py b/portail/urls.py index 2fdc8c3e..009b4e57 100644 --- a/portail/urls.py +++ b/portail/urls.py @@ -34,6 +34,7 @@ accessing to the full Re2o. from cotisations.views import new_facture from django.conf.urls import url from django.contrib.auth.views import LoginView +from re2o.views import about_page from .views import IndexView, SignUpView @@ -42,4 +43,5 @@ urlpatterns = [ url(r"^signup/$", SignUpView.as_view(), name="signup"), url(r"^login/$", LoginView.as_view(), name="login"), url(r"^extend-connection/(?P[0-9]+)/$", new_facture, name="extend-connection"), + url(r"^about/$", about_page, name="about"), ]