Show primary character on group requests and lists

This commit is contained in:
2011-08-11 11:54:52 +01:00
parent b86d1ab5f7
commit 385e7054a5
3 changed files with 17 additions and 6 deletions

View File

@@ -8,7 +8,7 @@
{% if group.user_set.all %}
<table>
<tr><th>Member Username</th><th>Characters</th><th>Status</th><th>Actions</th></tr>
<tr><th>Member Username</th><th>Character</th><th>Status</th><th>Actions</th></tr>
{% for user, chars, status in member_list %}
<tr><td><a href="{% url sso.views.user_view user.username %}">{{ user.username }}</a></td>
<td>{{ chars }}</td>
@@ -26,9 +26,10 @@
{% if requests %}
<table>
<tr><th>Username</th><th>Reason</th><th>Status</th><th>Created Date</th><th>Actions</th></tr>
<tr><th>Username</th><th>Character</th><th>Reason</th><th>Status</th><th>Created Date</th><th>Actions</th></tr>
{% for req in requests %}
<tr><td><a href="{% url sso.views.user_view req.user.username %}">{{ req.user }}</a></td>
<td>{{ req.character }}</td>
<td>{{ req.reason }}</td>
<td>{{ req.get_status_description }}</td>
<td>{{ req.created_date }}</td>