diff --git a/tildes/tildes/templates/topic_listing.jinja2 b/tildes/tildes/templates/topic_listing.jinja2 index 88a5db7..ff6eb62 100644 --- a/tildes/tildes/templates/topic_listing.jinja2 +++ b/tildes/tildes/templates/topic_listing.jinja2 @@ -5,6 +5,7 @@ {% from 'macros/forms.jinja2' import search_form %} {% from 'macros/groups.jinja2' import render_group_subscription_box with context %} +{% from 'macros/links.jinja2' import group_linked %} {% from 'macros/topics.jinja2' import render_topic_for_listing with context %} {% block title %}Topics in ~{{ group.path }}{% endblock %} @@ -101,8 +102,20 @@ {% if search is not defined %}
{% if tag %} - Showing only topics with the tag "{{ tag|replace('_', ' ') }}". - Back to normal view + {% if is_single_group %} + Showing only topics in {{ group_linked(group.path) }} with the tag "{{ tag|replace('_', ' ') }}". + Back to normal view / + + {% if request.user %} + Search your subscribed groups + {% else %} + Search all groups + {% endif %} + + {% else %} + Showing only topics with the tag "{{ tag|replace('_', ' ') }}". + Back to normal view + {% endif %} {% elif unfiltered %} Showing unfiltered topic list. Back to normal view