mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Link usernames from the group list
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
<table>
|
<table>
|
||||||
<tr><th>Member Username</th><th>Characters</th><th>Status</th><th>Actions</th></tr>
|
<tr><th>Member Username</th><th>Characters</th><th>Status</th><th>Actions</th></tr>
|
||||||
{% for user, chars, status in member_list %}
|
{% for user, chars, status in member_list %}
|
||||||
<tr><td>{{ user.username }}</td>
|
<tr><td><a href="{% url sso.views.user_view user.username %}">{{ user.username }}</a></td>
|
||||||
<td>{{ chars }}</td>
|
<td>{{ chars }}</td>
|
||||||
<td>{{ status }}</td>
|
<td>{{ status }}</td>
|
||||||
<td><a href="{% url groups.views.kick_member group.id user.id %}">Kick Member</a>
|
<td><a href="{% url groups.views.kick_member group.id user.id %}">Kick Member</a>
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
<table>
|
<table>
|
||||||
<tr><th>Username</th><th>Reason</th><th>Status</th><th>Created Date</th><th>Actions</th></tr>
|
<tr><th>Username</th><th>Reason</th><th>Status</th><th>Created Date</th><th>Actions</th></tr>
|
||||||
{% for req in requests %}
|
{% for req in requests %}
|
||||||
<tr><td>{{ req.user }}</td>
|
<tr><td><a href="{% url sso.views.user_view req.user.username %}">{{ req.user }}</a></td>
|
||||||
<td>{{ req.reason }}</td>
|
<td>{{ req.reason }}</td>
|
||||||
<td>{{ req.get_status_description }}</td>
|
<td>{{ req.get_status_description }}</td>
|
||||||
<td>{{ req.created_date }}</td>
|
<td>{{ req.created_date }}</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user