mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
tweak topics menu
This commit is contained in:
parent
364287c0d5
commit
e759e7afb1
1 changed files with 2 additions and 0 deletions
|
@ -143,6 +143,7 @@
|
|||
{% for topic_menu_item in menu_topics -%}
|
||||
<li><a class="dropdown-item{% if topic and topic.id == topic_menu_item.id%} active{% endif %}" href="/topic/{{ topic_menu_item.path() }}">{{ topic_menu_item.name }}</a></li>
|
||||
{% endfor -%}
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li><a class="dropdown-item{% if active_child == 'list_topics' %} active{% endif %}" href="/topics">{{ _('More topics') }}</a></li>
|
||||
{% else %}
|
||||
<li><a class="dropdown-item{% if active_child == 'list_topics' %} active{% endif %}" href="/topics">{{ _('Browse by topic') }}</a></li>
|
||||
|
@ -168,6 +169,7 @@
|
|||
{% for topic_menu_item in menu_topics -%}
|
||||
<li><a class="dropdown-item{% if topic and topic.id == topic_menu_item.id%} active{% endif %}" href="/topic/{{ topic_menu_item.path() }}">{{ topic_menu_item.name }}</a></li>
|
||||
{% endfor -%}
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li><a class="dropdown-item{% if active_child == 'list_topics' %} active{% endif %}" href="/topics">{{ _('More topics') }}</a></li>
|
||||
{% else -%}
|
||||
<li><a class="dropdown-item{% if active_child == 'list_topics' %} active{% endif %}" href="/topics">{{ _('Browse by topic') }}</a></li>
|
||||
|
|
Loading…
Add table
Reference in a new issue