diff --git a/boards/static/css/base.css b/boards/static/css/base.css --- a/boards/static/css/base.css +++ b/boards/static/css/base.css @@ -113,3 +113,15 @@ textarea, input { margin-left: auto; margin-right: auto; } + +.tag-image, .tag-text-data { + display: inline-block; +} + +.tag-text-data > h2 { + margin: 0; +} + +.tag-image { + margin-right: 5px; +} diff --git a/boards/templates/boards/all_threads.html b/boards/templates/boards/all_threads.html --- a/boards/templates/boards/all_threads.html +++ b/boards/templates/boards/all_threads.html @@ -38,42 +38,44 @@ {% if tag %}
-
+
{% for image in random_images %} - + {% endfor %}
-

-
- {% if is_favorite %} - - {% else %} - - {% endif %} -
-
- {% if is_hidden %} - - {% else %} - +
+

+ + {% if is_favorite %} + + {% else %} + + {% endif %} + +
+ {% if is_hidden %} + + {% else %} + + {% endif %} +
+ {% autoescape off %} + {{ tag.get_view }} + {% endautoescape %} + {% if moderator %} + | {% trans 'Edit tag' %} {% endif %} - - {% autoescape off %} - {{ tag.get_view }} - {% endautoescape %} - {% if moderator %} - [{% trans 'Edit tag' %}] +

+ {% if tag.get_description %} + {% autoescape off %} +

{{ tag.get_description }}

+ {% endautoescape %} {% endif %} -

- {% if tag.get_description %} - {% autoescape off %} -

{{ tag.get_description }}

- {% endautoescape %} - {% endif %} -

{% blocktrans with active_thread_count=tag.get_active_thread_count thread_count=tag.get_thread_count post_count=tag.get_post_count %}This tag has {{ active_thread_count}}/{{ thread_count }} threads and {{ post_count }} posts.{% endblocktrans %}

+

{% blocktrans with active_thread_count=tag.get_active_thread_count thread_count=tag.get_thread_count post_count=tag.get_post_count %}This tag has {{ active_thread_count}}/{{ thread_count }} threads and {{ post_count }} posts.{% endblocktrans %}

+
{% endif %}