mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
add visual divider in topics drowpdown
This commit is contained in:
parent
70a8d8caa0
commit
6a831736e9
1 changed files with 2 additions and 0 deletions
|
@ -157,12 +157,14 @@
|
|||
<li><a class="dropdown-item{% if active_child == 'list_communities' %} active{% endif %}" href="/topics">{{ _('Browse by topic') }}</a></li>
|
||||
<li><a class="dropdown-item{% if active_child == 'list_topics' %} active{% endif %}" href="/communities">{{ _('All communities') }}</a></li>
|
||||
{% if moderating_communities %}
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li><h6 class="dropdown-header">{{ _('Moderating') }}</h6></li>
|
||||
{% for community_menu_item in moderating_communities %}
|
||||
<li class="pl-2"><a class="dropdown-item{% if community and community.id == community_menu_item.id%} active{% endif %}" href="/c/{{ community_menu_item.link() }}">{{ community_menu_item.title }}</a></li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if joined_communities %}
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li><h6 class="dropdown-header">{{ _('Joined communities') }}</h6></li>
|
||||
{% for community_menu_item in joined_communities %}
|
||||
<li class="pl-2"><a class="dropdown-item{% if community and community.id == community_menu_item.id%} active{% endif %}" href="/c/{{ community_menu_item.link() }}">{{ community_menu_item.title }}</a></li>
|
||||
|
|
Loading…
Reference in a new issue