Release 16 (devel -> main) #39

Merged
ChaoticByte merged 13 commits from devel into main 2023-04-17 19:10:52 +00:00
3 changed files with 3 additions and 12 deletions
Showing only changes of commit 105ddc0409 - Show all commits

Binary file not shown.

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-17 22:11+0100\n"
"POT-Creation-Date: 2023-04-13 20:50+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Julian Müller (ChaoticByte)\n"
"Language: DE\n"
@ -226,10 +226,6 @@ msgstr "Senden"
msgid "You are not allowed to view this site."
msgstr "Dir fehlt die Berechtigung, diese Seite anzuzeigen."
#: app/templates/userpanel.html:9 app/templates/userpanel.html:11
msgid "User"
msgstr "Benutzer"
#: app/templates/userpanel.html:15 app/templates/userpanel.html:17
msgid "Balance"
msgstr "Saldo"

View file

@ -3,13 +3,8 @@
<div class="flex flex-center userpanel">
<div class="userinfo">
<img src="/profilepictures/{{ user.profile_picture_filename|urlencode }}">
<span>
{% if user.first_name != "" %}
{% translate "User" %}: {{ user.first_name }} {{ user.last_name }} ({{ user.username }})
{% else %}
{% translate "User" %}: {{ user.username }}
{% endif %}
<img src="/profilepictures/{{ user.profile_picture_filename|urlencode }}"><span>{% if user.first_name != "" %}
{{ user.first_name }} {{ user.last_name }} ({{ user.username }}){% else %}{{ user.username }}{% endif %}
&nbsp;-&nbsp;
{% if user.balance < 0.01 %}
<span class="userbalancewarn">{% translate "Balance" %}: {{ user.balance }}{{ currency_suffix }}</span>