{% extends "base.html" %}

{% block content %}

<h1>Character List</h1>

{% if characters %}
<table>
<tr><th>Character Name</th><th>Corporation</th><th>Alliance</th></tr>
{% for char in characters %}
<tr><td><a href="{% url eveapi-character char.id %}">{{ char.name }}</a></td>
    <td>{{ char.corporation }}</td>
    <td>{% if char.corporation.alliance %}{{ char.corporation.alliance }}{% endif %}</td>
</tr>
{% endfor %}
</table>
{% endif %}

{% endblock %}

{% extends "base.html" %}

{% block content %}

<h1>Character List</h1>

{% if characters %}
<table>
<tr><th>Character Name</th><th>Corporation</th><th>Alliance</th></tr>
{% for char in characters %}
<tr><td><a href="{% url eveapi-character char.id %}">{{ char.name }}</a></td>
    <td><a href="{% url eveapi-corporation char.corporation.id %}">{{ char.corporation }}</a></td>
    <td>{% if char.corporation.alliance %}{{ char.corporation.alliance }}{% endif %}</td>
</tr>
{% endfor %}
</table>
{% endif %}

{% endblock %}

Add corporation link to the character list
Add corporation link to the character list
