Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Commit ccb5192

Browse files
committed
feat: add user list to menu
1 parent eb1e85d commit ccb5192

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

br/templates/backend/_layout.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ <h4>Rapid<strong>SMS</strong></h4>
3333
<div class="dropdown-divider"></div>
3434
{% if perms.ipd.change_report %}<li><a class="dropdown-item" href="{% url 'mnchw:campaign_list' %}">MNCHW campaigns</a></li>{% endif %}
3535
<div class="dropdown-divider"></div>
36+
{% if perms.auth.change_user %}
37+
<li><a href="{% url 'users:user_list' %}" class="dropdown-item">Users</a></li>
38+
<div class="dropdown-divider"></div>
39+
{% endif %}
3640
<li><a class="dropdown-item" href="{% url 'messaging:message_list' %}">Messages</a></li>
3741
<div class="dropdown-divider"></div>
3842
<li>

0 commit comments

Comments
 (0)