Skip to content

Commit

Permalink
Highlight sysadmins on user list
Browse files Browse the repository at this point in the history
  • Loading branch information
Eyjafjallajokull committed Sep 14, 2014
1 parent 7c4d9c9 commit 66b9724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gunnery/account/templates/partial/user_list.html
Expand Up @@ -18,7 +18,7 @@
{% for luser in users %}
<tr>
<td><a href="{{ luser.get_absolute_url }}">{{ luser.get_full_name }}</a>
{% if luser.is_superuser %}<span class="label label-default">superuser</span>{% endif %}
{% if luser.is_superuser %}<span class="label label-default label-primary">superuser</span>{% endif %}
{% for group in luser.groups.all %}
<span class="label label-default">{% if not department_user_list %}{{ group.departmentgroup.department }} - {% endif %}{{ group.departmentgroup.local_name }}</span>
{% endfor %}
Expand Down

0 comments on commit 66b9724

Please sign in to comment.