[UI][SELFTAGS] Display 'none' if the user doesn't have selftags

This commit is contained in:
Hugo Sales 2020-08-16 23:22:53 +00:00 committed by Hugo Sales
parent f76bfca921
commit 8ceeb6be80

View File

@ -25,9 +25,13 @@
<div class="info">
<b id="nick">{{ user_nickname }}</b>
<div class="tags">
{% for tag in user_tags %}
<a href='#'><i> #{{ tag }} </i></a>
{% endfor %}
{% if user_tags %}
{% for tag in user_tags %}
<a href='#'><i> #{{ tag }} </i></a>
{% endfor %}
{% else %}
<i> {{ '(None)' | trans }} </i>
{% endif %}
</div>
<div class="stats">
<span> <b> {{ user_followers }} </b> {{'Followers' | trans}} </span>