Show applications on user search

This commit is contained in:
2010-07-05 19:14:29 +01:00
parent fd8e9451f8
commit 8cd154003c

View File

@@ -21,6 +21,21 @@
{% endfor %}
</table>
{% endif %}
<br/>
{% if user.application_set.all %}
<h2>Applications</h2>
<table>
<tr><th>ID</th><th>Character</th><th>Applied To</th><th>Status</th></tr>
{% for app in user.application_set.all %}
<tr><td><a href="{% url hr.views.view_application app.id %}">{{ app.id }}</a></td>
<td>{{ app.character }}</td>
<td>{{ app.corporation }}</td>
<td>{{ app.get_status_display }}</td></tr>
{% endfor %}
</table>
{% endif %}
<br/>
<h2>Eve API Keys</h2>
{% if eveaccounts %}