forked from rDrama/rDrama
1
0
Fork 0

show lifetime_donated on user profiles

master
Aevann 2023-05-13 00:40:51 +03:00
parent 9c6a7a9cc7
commit 040ae9573c
1 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@
<p id="profile--info--spent">Coins spent on awards: {{u.coins_spent}}</p>
<p id="profile--info--spent">Coins spent on hats: {{u.coins_spent_on_hats}}</p>
{% if v and v.admin_level >= PERMS['VIEW_PATRONS'] %}
{% if v and (v.id == u.id or v.admin_level >= PERMS['VIEW_PATRONS']) %}
<p id="profile--info--lifetime-donated">Lifetime Donated: ${{u.lifetime_donated}}</p>
{% endif %}
@ -500,7 +500,7 @@
<p id="profile-mobile--info--spent">Coins spent on awards: {{u.coins_spent}}</p>
<p id="profile-mobile--info--spent">Coins spent on hats: {{u.coins_spent_on_hats}}</p>
{% if v and v.admin_level >= PERMS['VIEW_PATRONS'] %}
{% if v and (v.id == u.id or v.admin_level >= PERMS['VIEW_PATRONS']) %}
<p id="profile-mobile--info--lifetime-donated">Lifetime Donated: ${{u.lifetime_donated}}</p>
{% endif %}