Skip to content

Commit

Permalink
Show groups intended by depth in pulldown menu
Browse files Browse the repository at this point in the history
Use Group.get_depth_fill method to get some indention into the group
pulldown menu.
donald committed Sep 25, 2020
1 parent 5db26fb commit 931b5a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpicms/templates/personal/list.html
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ <h1 class="title has-text-centered">{% trans 'Contact List' %}</h1>
<div class="dropdown-content">
{% for group in groups %}
<a href="?group={{ group.pk }}" class="{% if group.pk|stringformat:'d' == selected_group_pk %}is-active {% endif %}dropdown-item">
{{ group }}
{{ group.get_depth_fill }} {{ group }}
</a>
{% endfor %}
</div>

0 comments on commit 931b5a6

Please sign in to comment.