diff --git a/core/modules/forum/templates/forum-icon.html.twig b/core/modules/forum/templates/forum-icon.html.twig index b32b734..3f83849 100644 --- a/core/modules/forum/templates/forum-icon.html.twig +++ b/core/modules/forum/templates/forum-icon.html.twig @@ -18,13 +18,7 @@ * @ingroup themeable */ #} -{% - set classes = [ - 'icon', - 'topic-status-' ~ icon_status, - ] -%} -
{{ 'Forum'|t }} | @@ -43,11 +43,10 @@|||||||||
---|---|---|---|---|---|---|---|---|---|
{#
Enclose the contents of this cell with X divs, where X is the
@@ -55,25 +54,25 @@
left-margin for indenting.
#}
{% for i in 1..forum.depth if forum.depth > 0 %} {% endfor %}
-
+ {% endfor %}
{{ forum.icon_title }}
-
+
{% if forum.description.value %}
- {{ forum.description.value }}
+ {{ forum.description.value }}
{% endif %}
{% for i in 1..forum.depth if forum.depth > 0 %} |
{% if forum.is_container == false %}
- + |
{{ forum.num_topics }}
{% if forum.new_topics == true %}
{{ forum.new_text }} {% endif %} |
- {{ forum.num_posts }} | -{{ forum.last_reply }} | +{{ forum.num_posts }} | +{{ forum.last_reply }} | {% endif %}
{{ 'Forum'|t }} | +{{ 'Topics'|t }} | +{{ 'Posts'|t }} | +{{ 'Last post'|t }} | +|||
---|---|---|---|---|---|---|
+ {#
+ Enclose the contents of this cell with X divs, where X is the
+ depth this forum resides at. This will allow us to use CSS
+ left-margin for indenting.
+ #}
+ {% for i in 1..forum.depth if forum.depth > 0 %} {% endfor %}
+ {% endfor %}
+
+ {{ forum.icon_title }}
+
+
+ {% if forum.description.value %}
+ {{ forum.description.value }}
+ {% endif %}
+ {% for i in 1..forum.depth if forum.depth > 0 %} |
+ {% if forum.is_container == false %}
+
+ {{ forum.num_topics }}
+ {% if forum.new_topics == true %}
+ + {{ forum.new_text }} + {% endif %} + |
+ {{ forum.num_posts }} | +{{ forum.last_reply }} | + {% endif %} +