forked from GNUsocial/gnu-social
[UI][SELFTAGS] Display 'none' if the user doesn't have selftags
This commit is contained in:
parent
2486eb1949
commit
09a2541c36
@ -25,9 +25,13 @@
|
|||||||
<div class="info">
|
<div class="info">
|
||||||
<b id="nick">{{ user_nickname }}</b>
|
<b id="nick">{{ user_nickname }}</b>
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
{% for tag in user_tags %}
|
{% if user_tags %}
|
||||||
<a href='#'><i> #{{ tag }} </i></a>
|
{% for tag in user_tags %}
|
||||||
{% endfor %}
|
<a href='#'><i> #{{ tag }} </i></a>
|
||||||
|
{% endfor %}
|
||||||
|
{% else %}
|
||||||
|
<i> {{ '(None)' | trans }} </i>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="stats">
|
<div class="stats">
|
||||||
<span> <b> {{ user_followers }} </b> {{'Followers' | trans}} </span>
|
<span> <b> {{ user_followers }} </b> {{'Followers' | trans}} </span>
|
||||||
|
Loading…
Reference in New Issue
Block a user