From dd3241c3c49edcbb8ad894162442ca71c344fa34 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Thu, 28 Oct 2010 10:24:25 +0100 Subject: [PATCH] Show more details for the API keys on user lookup --- templates/sso/lookup/user.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/templates/sso/lookup/user.html b/templates/sso/lookup/user.html index 415e2d8..9da2a78 100644 --- a/templates/sso/lookup/user.html +++ b/templates/sso/lookup/user.html @@ -1,5 +1,7 @@ {% extends "base.html" %} +{% load naturaltimediff %} + {% block content %}

{{user.username}}'s Profile

@@ -40,14 +42,19 @@

Eve API Keys

{% if user.eveaccount_set.all %} - + + + + {% for acc in user.eveaccount_set.all %} + + {% endfor %}
User IDAPI KeyDescriptionKey TypeActive
User IDAPI KeyDescriptionTypeActiveLast Updated
{{ acc.api_user_id }} {{ acc.api_key }} {{ acc.description }} {{ acc.get_api_keytype_display }} {{ acc.get_api_status_display }}{{ acc.api_last_updated|naturaltimediff }}
{% endif %}