diff options
-rw-r--r-- | apioforum/static/style.css | 1 | ||||
-rw-r--r-- | apioforum/templates/view_forum.html | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/apioforum/static/style.css b/apioforum/static/style.css index 237cad6..1ee3b14 100644 --- a/apioforum/static/style.css +++ b/apioforum/static/style.css @@ -80,6 +80,7 @@ dt { font-weight: bold } img { max-width: 100% } +.avail_tags { margin-top: 30px } nav#navbar { float: right; padding: 5px; margin: 2px; border: 1px solid black; display:flex; align-items: center; flex-wrap: wrap } nav#navbar p { margin-left: 15px; margin-top: 0; margin-bottom: 0; margin-right: 10px; padding: 0 } diff --git a/apioforum/templates/view_forum.html b/apioforum/templates/view_forum.html index 67693d8..25d83e5 100644 --- a/apioforum/templates/view_forum.html +++ b/apioforum/templates/view_forum.html @@ -11,8 +11,11 @@ {% if forum.description %} {{forum.description|md|safe}} {% endif %} +<p class="avail_tags">available tags: {% for the_tag in avail_tags %} {{tag(the_tag)}} +{% else %} +<em>(none available)</em> {% endfor %} {% if subforums %} |