Now links to user's character profiles

This commit is contained in:
2010-04-02 20:52:37 +01:00
parent 342ccfc887
commit 28d3ee66d8
2 changed files with 8 additions and 3 deletions

View File

@@ -41,7 +41,7 @@
<table>
<tr><th>Character Name</th><th>Corp</th></tr>
{% for char in characters %}
<tr><td>{{ char.name }}</td>
<tr><td><a href="/profile/characters/{{ char.id }}/">{{ char.name }}</a></td>
<td>{{ char.corp }}</td>
</tr>
{% endfor %}
@@ -52,12 +52,17 @@
<h2>Reddit Accounts</h2>
{% if reddits %}
<table>
<tr><th>Username</th><th>Created Date</th></tr>
<thead>
<tr><th>Username</th><th>Created Date</th><th>Validated</th></tr>
</thead>
<tbody>
{% for acc in reddits %}
<tr><td>{{ acc.username }}</td>
<td>{{ acc.date_created }}</td>
<td>{% if acc.validated %}Yes{% else %}No{% endif %}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
{% endif %}