Add user name in navbar
This commit is contained in:
parent
b18088f9d6
commit
88f4f9099b
3 changed files with 14 additions and 4 deletions
Binary file not shown.
|
@ -7,7 +7,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: 0.0.1\n"
|
"Project-Id-Version: 0.0.1\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-04-21 15:41+0200\n"
|
"POT-Creation-Date: 2023-04-22 09:41+0200\n"
|
||||||
"PO-Revision-Date: 2022-12-21 17:30+0100\n"
|
"PO-Revision-Date: 2022-12-21 17:30+0100\n"
|
||||||
"Last-Translator: edpibu <git@edgarpierre.fr>\n"
|
"Last-Translator: edpibu <git@edgarpierre.fr>\n"
|
||||||
"Language-Team: edpibu <git@edgarpierre.fr>\n"
|
"Language-Team: edpibu <git@edgarpierre.fr>\n"
|
||||||
|
@ -67,7 +67,7 @@ msgid "Budget"
|
||||||
msgstr "Budget"
|
msgstr "Budget"
|
||||||
|
|
||||||
#: .\models.py:114 .\templates\main\form\snapshot.html:23
|
#: .\models.py:114 .\templates\main\form\snapshot.html:23
|
||||||
#: .\templates\main\index.html:32
|
#: .\templates\main\index.html:30
|
||||||
msgid "Categories"
|
msgid "Categories"
|
||||||
msgstr "Catégories"
|
msgstr "Catégories"
|
||||||
|
|
||||||
|
@ -150,6 +150,7 @@ msgstr "Paiement"
|
||||||
#: .\templates\main\form\snapshot.html:27 .\templates\main\index.html:26
|
#: .\templates\main\form\snapshot.html:27 .\templates\main\index.html:26
|
||||||
#: .\templates\main\list\transaction.html:6
|
#: .\templates\main\list\transaction.html:6
|
||||||
#: .\templates\main\list\transaction.html:23
|
#: .\templates\main\list\transaction.html:23
|
||||||
|
#: .\templates\main\month\transaction.html:15
|
||||||
#: .\templates\main\table\snapshot.html:28
|
#: .\templates\main\table\snapshot.html:28
|
||||||
msgid "Transactions"
|
msgid "Transactions"
|
||||||
msgstr "Transactions"
|
msgstr "Transactions"
|
||||||
|
@ -170,7 +171,7 @@ msgstr "Aller au contenu principal"
|
||||||
msgid "Home"
|
msgid "Home"
|
||||||
msgstr "Accueil"
|
msgstr "Accueil"
|
||||||
|
|
||||||
#: .\templates\main\base.html:38 .\templates\main\index.html:42
|
#: .\templates\main\base.html:38 .\templates\main\index.html:40
|
||||||
msgid "Snapshots"
|
msgid "Snapshots"
|
||||||
msgstr "Relevés"
|
msgstr "Relevés"
|
||||||
|
|
||||||
|
@ -199,6 +200,10 @@ msgstr "Se déconnecter"
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Se connecter"
|
msgstr "Se connecter"
|
||||||
|
|
||||||
|
#: .\templates\main\base.html:83
|
||||||
|
msgid "Logged in as <strong>%(user)s</strong>"
|
||||||
|
msgstr "Connecté en tant que <strong>%(user)s</strong>"
|
||||||
|
|
||||||
#: .\templates\main\confirm_delete.html:19
|
#: .\templates\main\confirm_delete.html:19
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Are you sure you want do delete <strong>%(object)s</strong> ?"
|
msgid "Are you sure you want do delete <strong>%(object)s</strong> ?"
|
||||||
|
@ -217,7 +222,7 @@ msgid "New account"
|
||||||
msgstr "Nouveau compte"
|
msgstr "Nouveau compte"
|
||||||
|
|
||||||
#: .\templates\main\form\account.html:19 .\templates\main\form\category.html:15
|
#: .\templates\main\form\account.html:19 .\templates\main\form\category.html:15
|
||||||
#: .\templates\main\index.html:28
|
#: .\templates\main\index.html:44
|
||||||
msgid "History"
|
msgid "History"
|
||||||
msgstr "Historique"
|
msgstr "Historique"
|
||||||
|
|
||||||
|
|
|
@ -79,6 +79,11 @@
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
|
{% if user %}
|
||||||
|
<p>
|
||||||
|
{% blocktranslate %}Logged in as <strong>{{ user }}</strong>{% endblocktranslate %}
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
</nav>
|
</nav>
|
||||||
{% endspaceless %}
|
{% endspaceless %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue