mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Add corporation link to the character list
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
<tr><th>Character Name</th><th>Corporation</th><th>Alliance</th></tr>
|
<tr><th>Character Name</th><th>Corporation</th><th>Alliance</th></tr>
|
||||||
{% for char in characters %}
|
{% for char in characters %}
|
||||||
<tr><td><a href="{% url eveapi-character char.id %}">{{ char.name }}</a></td>
|
<tr><td><a href="{% url eveapi-character char.id %}">{{ char.name }}</a></td>
|
||||||
<td>{{ char.corporation }}</td>
|
<td><a href="{% url eveapi-corporation char.corporation.id %}">{{ char.corporation }}</a></td>
|
||||||
<td>{% if char.corporation.alliance %}{{ char.corporation.alliance }}{% endif %}</td>
|
<td>{% if char.corporation.alliance %}{{ char.corporation.alliance }}{% endif %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user