Skip to content

Commit

Permalink
Fix account status field in user page template (#580)
Browse files Browse the repository at this point in the history
  • Loading branch information
yzernik authored Aug 9, 2022
1 parent 0b8c545 commit b9248c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/user.html.tera
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
{% endif %}

<p><b>User rating</b>: {{ weighted_average_rating | round(method="ceil", precision=2) }} <a href="/seller_history/{{ visited_user.username }}">(See rating)</a></p>
<p><b>User account status</b>: {% if user_account.disabled %}
<p><b>User account status</b>: {% if visited_user_account.disabled %}
Disabled by admin
{% elif user_account.paid %}
{% elif visited_user_account.paid %}
Paid
{% else %}
Not paid
Expand Down

0 comments on commit b9248c4

Please sign in to comment.