From b6401e8b1fddb812b22548cdaffad5605c46c9f6 Mon Sep 17 00:00:00 2001 From: flashwave Date: Mon, 17 Sep 2018 00:53:42 +0200 Subject: [PATCH] tfw no posts --- templates/user/view.twig | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/templates/user/view.twig b/templates/user/view.twig index cc8e9c63..9c61cf89 100644 --- a/templates/user/view.twig +++ b/templates/user/view.twig @@ -117,23 +117,27 @@ {% endif %} -
-
- Topics + {% if profile.forum_topic_count > 0 %} +
+
+ Topics +
+
+ {{ profile.forum_topic_count|number_format }} +
-
- {{ profile.forum_topic_count|number_format }} -
-
+ {% endif %} -
-
- Posts + {% if profile.forum_post_count > 0 %} +
+
+ Posts +
+
+ {{ profile.forum_post_count|number_format }} +
-
- {{ profile.forum_post_count|number_format }} -
-
+ {% endif %} {% if profile.comments_count > 0 %}