|
@ -54,9 +54,15 @@ |
|
|
<a href="/groups" class="btn btn-primary">Browse the list of groups</a> |
|
|
<a href="/groups" class="btn btn-primary">Browse the list of groups</a> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
|
|
|
|
|
|
{% if request.user and not (tag or unfiltered) %} |
|
|
|
|
|
<hr> |
|
|
|
|
|
<details> |
|
|
|
|
|
|
|
|
{% if request.user %} |
|
|
|
|
|
<div class="divider"></div> |
|
|
|
|
|
|
|
|
|
|
|
<ul class="nav"> |
|
|
|
|
|
<li>User settings</li> |
|
|
|
|
|
|
|
|
|
|
|
<ul class="nav"> |
|
|
|
|
|
{% if not (tag or unfiltered) %} |
|
|
|
|
|
<li><details> |
|
|
<summary>Filtered topic tags ({{ request.user.filtered_topic_tags|length }})</summary> |
|
|
<summary>Filtered topic tags ({{ request.user.filtered_topic_tags|length }})</summary> |
|
|
<ul class="topic-tags"> |
|
|
<ul class="topic-tags"> |
|
|
{% for tag in request.user.filtered_topic_tags %} |
|
|
{% for tag in request.user.filtered_topic_tags %} |
|
@ -66,6 +72,11 @@ |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
</ul> |
|
|
</ul> |
|
|
<a class="btn btn-link" href="/settings/filters">Edit filtered tags</a> |
|
|
<a class="btn btn-link" href="/settings/filters">Edit filtered tags</a> |
|
|
</details> |
|
|
|
|
|
|
|
|
</details></li> |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
<li class="nav-item ml-2"><a href="/settings">Settings page</a></li> |
|
|
|
|
|
</ul> |
|
|
|
|
|
</ul> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% endblock %} |
|
|
{% endblock %} |