Added RedditAccount as a editable section to users, also added Admin side

This commit is contained in:
2010-03-02 22:57:10 +00:00
parent 35767483b0
commit e7ab428044
6 changed files with 105 additions and 2 deletions

View File

@@ -71,6 +71,29 @@ setup.</p>
<p>
<a href="/profile/add/eveapi">Add a Eve API key</a>
</p>
<h2>Reddit Accounts</h2>
<p>This is a list of all your current linked Reddit accounts</p>
{% if redditaccounts %}
<table>
<thead>
<tr><th>Username</th><th>Created Date</th></tr>
</thead>
<tbody>
{% for acc in redditaccounts %}
<tr><td>{{ acc.username }}</td>
<td>{{ acc.date_created }}</td>
</tr>
{% endfor %}
</tbody>
<tfoot><tr><td colspan="5">&nbsp;</td></tr></tfoot>
</table>
{% endif %}
<p>
<a href="/profile/add/reddit">Add a Reddit account</a>
</p>
<p>If you encounter any errors during using this service, copy the massive
error message into <a href="http://pastebin.com/">Pastebin</a> and give
Matalok a good kicking on IRC/Jabber/Email or on the Forums.</p>