Skip to content

Commit

Permalink
Added group affiliation to user mgmt page
Browse files Browse the repository at this point in the history
  • Loading branch information
mscanlan-git committed Oct 17, 2023
1 parent 6a5aa58 commit 316e99e
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions physionet-django/console/templates/console/user_management.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,21 +111,21 @@ <h3>Profile</h3>
</div>
{% endfor %}

{% if groups %}
<div class="row mb-1">
<div class="col-md-3">
User Groups:
</div>
<div class="col-md-9">
{% for group in groups %}
<a href="{% url 'user_group' group.name %}">{{ group.name }}</a>
{% empty %}
N/A
{% endfor %}
</div>
<br>
<h3>Permission Groups</h3>
<hr>
<div class="row mb-1">
<div class="col-md-6">
The user is a member of the following groups:
</div>

{% endif %}
<div class="col-md-9">
{% for group in groups %}
<ul><li><a href="{% url 'user_group' group.name %}">{{ group.name }}</a></li></ul>
{% empty %}
<ul><li>No Groups</li></ul>
{% endfor %}
</div>
</div>

<br />
<h3>Projects</h3>
Expand Down

0 comments on commit 316e99e

Please sign in to comment.