tfw no posts

This commit is contained in:
flash 2018-09-17 00:53:42 +02:00
parent f90a8e5612
commit b6401e8b1f

View file

@ -117,23 +117,27 @@
</div>
{% endif %}
<div class="profile__header__stat">
<div class="profile__header__stat__name">
Topics
{% if profile.forum_topic_count > 0 %}
<div class="profile__header__stat">
<div class="profile__header__stat__name">
Topics
</div>
<div class="profile__header__stat__value">
{{ profile.forum_topic_count|number_format }}
</div>
</div>
<div class="profile__header__stat__value">
{{ profile.forum_topic_count|number_format }}
</div>
</div>
{% endif %}
<div class="profile__header__stat">
<div class="profile__header__stat__name">
Posts
{% if profile.forum_post_count > 0 %}
<div class="profile__header__stat">
<div class="profile__header__stat__name">
Posts
</div>
<div class="profile__header__stat__value">
{{ profile.forum_post_count|number_format }}
</div>
</div>
<div class="profile__header__stat__value">
{{ profile.forum_post_count|number_format }}
</div>
</div>
{% endif %}
{% if profile.comments_count > 0 %}
<div class="profile__header__stat">