Skip to content

Commit

Permalink
(Profil) Corrige l'affichage des liens vers les productions du membre (
Browse files Browse the repository at this point in the history
  • Loading branch information
Situphen authored Nov 11, 2024
1 parent a6ae90d commit b089a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/member/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ <h3>{% trans "Présence" %}</h3>
{% captureas messages_count %}{% if perms.forum.change_post %}{{ profile.get_post_count_as_staff }}{% else %}{{ profile.get_post_count }}{% endif %}{% endcaptureas %}

{% with topics_count=profile.get_topic_count followed_topics_count=profile.get_followed_topic_count messages_count=messages_count|add:"0" %}
{% if profile.site or profile.show_email or public_tutos_count > 0 or articles_public_count > 0 or opinions_public_count > 0 or beta_tutos_count > 0 or beta_articles_count > 0 or topics_count > 0 or messages_count > 0 %}
{% if profile.site or profile.show_email or public_tutos_count > 0 or articles_public_count > 0 or opinions_public_count > 0 or content_reactions_count > 0 or contribution_tutorials_count > 0 or contribution_articles_count > 0 or beta_tutos_count > 0 or beta_articles_count > 0 or topics_count > 0 or followed_topics_count > 0 or messages_count > 0 %}
<div class="activity">
<div class="content-linkbox-list {% if profile.biography or profile.sign or profile.user == user %}is-vertical{% endif %}">
{% if not hide_because_banned %}
Expand Down

0 comments on commit b089a37

Please sign in to comment.