From 105ddc04096939620ce929e9da07801f24e6fe07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20M=C3=BCller=20=28ChaoticByte=29?= Date: Thu, 13 Apr 2023 21:06:06 +0200 Subject: [PATCH] Removed 'User: ' prefix in user panel to get more space for the username and balance --- app/locales/de/LC_MESSAGES/django.mo | Bin 3543 -> 3513 bytes app/locales/de/LC_MESSAGES/django.po | 6 +----- app/templates/userpanel.html | 9 ++------- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/app/locales/de/LC_MESSAGES/django.mo b/app/locales/de/LC_MESSAGES/django.mo index 76e345b24588b6c782488239b385736378b82c35..9bbfd05f0edcc8ef85efb156f920675466a7fec2 100644 GIT binary patch delta 1115 zcmXZb&r6g+9LMqR`aGMatLCbesYQyhwyx#x)Pr8k3{5P^TS7~R2oENLRwiphc^2+~~-CD9@9B&9+JL7_yd_s3><=6TJ`J~Q)uzVqzY^5yc>X4IcHN;|cJ zx)m}T#95CUW!pE)#vMF?d)SD-@Fd2=W~Z9KM4^Q%u>c#K-EMpk6+jZT(KuG(Q{=KY+~WB5xSujx zqfx@Z1`?5NqXO7R1#pNLF^|=vn7{~jqn;Z;1#$;-@jfbfqsUYnLuGanFX1%S;tG1~ zZ{KMsmAgn*Z67u9H*%Tf{9iB!wP6JHhEdnAa>ktXsQJyPKsvFSW9>q%mt-@o^9WNN zG{$Hs@>$eTEV&2PQ5o29<6C%>{vm3E9wyPWepE*8qUI-28J$A*w3lxDHR|Z*Q0soo z<@`_6`0O6oasI_KjF)mAGJ%S`2WxNuweUFV!+qxZi+Gv-DxSq%WGVBAt_%yX7Gro0 zZ%4?#A|K_ZlsrM5@pELZ1#W!C_0w3#_yRWJCN^V~FH=X?i`uXs74R@BLnEm59-@w9 z0`&q@H)tp&FWkT@R3I~`iD^`-=P?Txk)u5RpunoBF=~78$-5A$5B9v`P-77Gd&{os zXG#mTm8#d$)=j|!ziX(0mWqN%)W(7esYSbplq~)J>^|OkpLg%vckg-UzIht^5X*cj@J5ZJ zh1g2`2$&tm7eOu@i=J67E@2J^vd#8j2=nkDZos3cai=gJ&tf6=p~ep*r#<1KanEs` zS;nThDW>BsZo~!TwBKAb@n2_@)z{OmKuuhaQ9SHSy8bRy0{y6ku3{P9Ku&war54B6 z+8MKXZi?vmiezMqs02KoRsvzH#26M}0wb72jXQ%%q!+`OMip-enaZx9Dm#J{(H`J- ze2mqsZ|}I#1AkB@T|o`Z3;mxUigZ~qYFrs=;Y!q-?r`m9XTo^|mB2C7b4iS|y(dxg z4YF896J6#;`+p7f22-dlnMM8n1yzafu73&JY3DOo3v?n~){Uyn1=RC{sLI|%*0lSs ze+;#SufpuVCVo%HCj90G{BstuADii~akio|@5F7`gPM2*58!RrevLJ>=dc7`F0?)tHD-|1I2{qeGbwbI}{$Lhbb^@~k~{{gbZ!4D0BhK_&1L8*v$%uz@dCTbM#E zd>)nf0IE_$sCloS=0?4{9y`ENX@;kgkC-fJsC6t2>C9kbhRqF{=yMfR@R0Y#_ tr(-9fym)UbC+dj3#Quo|Z#>KE=uf35?&P*-hgws80~ar)(*DQD{3@m3W|9B^ diff --git a/app/locales/de/LC_MESSAGES/django.po b/app/locales/de/LC_MESSAGES/django.po index c7b1011..23307a8 100644 --- a/app/locales/de/LC_MESSAGES/django.po +++ b/app/locales/de/LC_MESSAGES/django.po @@ -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" diff --git a/app/templates/userpanel.html b/app/templates/userpanel.html index 159dcf5..baa384b 100644 --- a/app/templates/userpanel.html +++ b/app/templates/userpanel.html @@ -3,13 +3,8 @@
- - - {% if user.first_name != "" %} - {% translate "User" %}: {{ user.first_name }} {{ user.last_name }} ({{ user.username }}) - {% else %} - {% translate "User" %}: {{ user.username }} - {% endif %} + {% if user.first_name != "" %} + {{ user.first_name }} {{ user.last_name }} ({{ user.username }}){% else %}{{ user.username }}{% endif %}  -  {% if user.balance < 0.01 %} {% translate "Balance" %}: {{ user.balance }}{{ currency_suffix }}