mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Optimize the character list view
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
<tr><th>Character Name</th><th>Corporation</th><th>Alliance</th></tr>
|
||||
{% for char in characters %}
|
||||
<tr><td><a href="{% url sso.views.characters char.id %}">{{ char.name }}</a></td>
|
||||
<td>{{ char.corp }}</td>
|
||||
<td>{% if char.corp.alliance %}{{ char.corp.alliance }}{% endif %}</td>
|
||||
<td>{{ char.corporation }}</td>
|
||||
<td>{% if char.corporation.alliance %}{{ char.corporation.alliance }}{% endif %}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user