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

@@ -40,7 +40,7 @@
<table>
<tr><th>Character Name</th><th>Corp</th></tr>
{% for char in characters %}
<tr><td><a href="/profile/characters/{{ char.id }}/">{{ char.name }}</a></td>
<tr><td><a href="{% url sso.views.view_characters char.id %}/">{{ char.name }}</a></td>
<td>{{ char.corp }}</td>
</tr>
{% endfor %}