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 ""
"Project-Id-Version: PACKAGE VERSION\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"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -34,19 +34,19 @@ msgstr ""
msgid "Must end with `@crans.org` or `@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"
msgstr ""
#: photo21/settings.py:144
#: photo21/settings.py:145
msgid "English"
msgstr ""
#: photo21/settings.py:145
#: photo21/settings.py:146
msgid "Spanish"
msgstr ""
#: photo21/settings.py:146
#: photo21/settings.py:147
msgid "French"
msgstr ""
@ -158,23 +158,19 @@ msgstr "Galeries"
msgid "Manage"
msgstr "Gestion"
#: photo21/templates/base.html:47
msgid "Change E-mail"
msgstr ""
#: photo21/templates/base.html:50
msgid "Account"
msgstr "Compte"
#: photo21/templates/base.html:52
msgid "Social connections"
msgstr ""
#: photo21/templates/base.html:61
#: photo21/templates/base.html:59
msgid "Log out"
msgstr ""
#: photo21/templates/base.html:71
#: photo21/templates/base.html:69
msgid "Log in"
msgstr ""
#: photo21/templates/base.html:80
#: photo21/templates/base.html:78
msgid "Sign up"
msgstr "Inscription"

View file

@ -44,12 +44,10 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% if request.user.is_authenticated %}
<li class="nav-item">
<a class="nav-link" href="{% url 'account_email' %}">
{% trans "Change E-mail" %}
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{% url 'socialaccount_connections' %}">
{% trans "Social connections" %}
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-person" viewBox="0 0 16 16">
<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"/>
</svg>
{% trans "Account" %}
</a>
</li>
<li class="nav-item">