mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Group characters by API ID
This commit is contained in:
@@ -60,14 +60,17 @@
|
|||||||
</table>
|
</table>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<br/>
|
<br/>
|
||||||
{% if characters %}
|
{% if user.eveaccount_set.all %}
|
||||||
<table>
|
<table>
|
||||||
<tr><th>Character Name</th><th>Corp</th></tr>
|
<tr><th>Character Name</th><th>Corp</th></tr>
|
||||||
{% for char in characters %}
|
{% for acc in user.eveaccount_set.all %}
|
||||||
|
<tr><td span=2>Account {{ acc.api_user_id }}</td></tr>
|
||||||
|
{% for char in acc.characters.all %}
|
||||||
<tr><td><a href="{% url sso.views.characters char.id %}">{{ char.name }}</a></td>
|
<tr><td><a href="{% url sso.views.characters char.id %}">{{ char.name }}</a></td>
|
||||||
<td>{{ char.corporation }}</td>
|
<td>{{ char.corporation }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user