8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 07:23:46 +00:00

Add about page on the captive portal

This commit is contained in:
Yohann D'ANELLO 2021-02-01 12:15:43 +01:00
parent 48e0129025
commit f31e13e5f2
No known key found for this signature in database
GPG key ID: 3A75C55819C8CF85
3 changed files with 9 additions and 1 deletions

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -117,6 +117,10 @@ msgstr ""
msgid "Buy a new subscription" msgid "Buy a new subscription"
msgstr "Payer une nouvelle adhésion" msgstr "Payer une nouvelle adhésion"
#: templates/portail/index.html:71
msgid "About Re2o..."
msgstr "À propos de Re2o ..."
#: templates/portail/signup.html:37 #: templates/portail/signup.html:37
msgid "Confirm" msgid "Confirm"
msgstr "Confirmer" msgstr "Confirmer"

View file

@ -67,4 +67,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</div> </div>
{% endif %} {% endif %}
</div> </div>
<a class="btn btn-info" href="{% url "portail:about" %}"> <i class="fa fa-info-circle"></i> {% trans "About Re2o..." %}</a>
{% endblock %} {% endblock %}

View file

@ -34,6 +34,7 @@ accessing to the full Re2o.
from cotisations.views import new_facture from cotisations.views import new_facture
from django.conf.urls import url from django.conf.urls import url
from django.contrib.auth.views import LoginView from django.contrib.auth.views import LoginView
from re2o.views import about_page
from .views import IndexView, SignUpView from .views import IndexView, SignUpView
@ -42,4 +43,5 @@ urlpatterns = [
url(r"^signup/$", SignUpView.as_view(), name="signup"), url(r"^signup/$", SignUpView.as_view(), name="signup"),
url(r"^login/$", LoginView.as_view(), name="login"), url(r"^login/$", LoginView.as_view(), name="login"),
url(r"^extend-connection/(?P<userid>[0-9]+)/$", new_facture, name="extend-connection"), url(r"^extend-connection/(?P<userid>[0-9]+)/$", new_facture, name="extend-connection"),
url(r"^about/$", about_page, name="about"),
] ]