Cleanup of templates to use {% url %} for locations, instead of using hardcoded locations

This commit is contained in:
2010-04-23 15:34:58 +01:00
parent c4631f3dbb
commit daaee6cc3c
22 changed files with 41 additions and 75 deletions

View File

@@ -8,7 +8,7 @@
<table>
<tr><th>Application ID</th><th>Character</th><th>Corporation</th><th>Application Status</th></tr>
{% for app in apps %}
<tr><td><a href="/hr/applications/{{ app.id }}/">{{ app.id }}</a></td>
<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.status_description }}</td>