Added natural times to profile view

This commit is contained in:
2010-04-18 03:53:52 +01:00
parent 7b26bd6ce0
commit 9352bf3414
2 changed files with 36 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
{% extends "base.html" %}
{% load naturaltimediff %}
{% block title %}Your Profile{% endblock %}
{% block content %}
@@ -64,7 +66,7 @@ setup.</p>
<td>{{ acc.api_key }}</td>
<td>{{ acc.description }}</td>
<td>{{ acc.api_status_description }}</td>
<td>{{ acc.api_last_updated }}</td>
<td>{{ acc.api_last_updated|naturaltimediff }}</td>
<td><a href="/profile/refresh/eveapi/{{ acc.api_user_id }}/">Refresh</a>,&nbsp;
<a href="/profile/del/eveapi/{{ acc.api_user_id }}/">Delete</a></td>
</tr>