Account button

This commit is contained in:
Alexandre Iooss 2021-10-11 13:49:11 +02:00
parent 49bf9465d7
commit 5728b9a18e
2 changed files with 15 additions and 21 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-10-11 11:21+0000\n" "POT-Creation-Date: 2021-10-11 11:48+0000\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"
@ -34,19 +34,19 @@ msgstr ""
msgid "Must end with `@crans.org` or `@ens-paris-saclay.fr`." msgid "Must end with `@crans.org` or `@ens-paris-saclay.fr`."
msgstr "Doit finir par `@crans.org` ou `@ens-paris-saclay.fr`." msgstr "Doit finir par `@crans.org` ou `@ens-paris-saclay.fr`."
#: photo21/settings.py:143 #: photo21/settings.py:144
msgid "German" msgid "German"
msgstr "" msgstr ""
#: photo21/settings.py:144 #: photo21/settings.py:145
msgid "English" msgid "English"
msgstr "" msgstr ""
#: photo21/settings.py:145 #: photo21/settings.py:146
msgid "Spanish" msgid "Spanish"
msgstr "" msgstr ""
#: photo21/settings.py:146 #: photo21/settings.py:147
msgid "French" msgid "French"
msgstr "" msgstr ""
@ -158,23 +158,19 @@ msgstr "Galeries"
msgid "Manage" msgid "Manage"
msgstr "Gestion" msgstr "Gestion"
#: photo21/templates/base.html:47 #: photo21/templates/base.html:50
msgid "Change E-mail" msgid "Account"
msgstr "" msgstr "Compte"
#: photo21/templates/base.html:52 #: photo21/templates/base.html:59
msgid "Social connections"
msgstr ""
#: photo21/templates/base.html:61
msgid "Log out" msgid "Log out"
msgstr "" msgstr ""
#: photo21/templates/base.html:71 #: photo21/templates/base.html:69
msgid "Log in" msgid "Log in"
msgstr "" msgstr ""
#: photo21/templates/base.html:80 #: photo21/templates/base.html:78
msgid "Sign up" msgid "Sign up"
msgstr "Inscription" msgstr "Inscription"

View file

@ -44,12 +44,10 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% if request.user.is_authenticated %} {% if request.user.is_authenticated %}
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="{% url 'account_email' %}"> <a class="nav-link" href="{% url 'account_email' %}">
{% trans "Change E-mail" %} <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-person" viewBox="0 0 16 16">
</a> <path d="M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10z"/>
</li> </svg>
<li class="nav-item"> {% trans "Account" %}
<a class="nav-link" href="{% url 'socialaccount_connections' %}">
{% trans "Social connections" %}
</a> </a>
</li> </li>
<li class="nav-item"> <li class="nav-item">