From: dklawren Date: Thu, 29 Aug 2019 22:14:20 +0000 (-0400) Subject: Bug 1576667 - Add creation timestamp to the user_api_keys table to show when an api... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efc6ad57b5d8e5ff0461fa0661aff1e7c6e5f201;p=thirdparty%2Fbugzilla.git Bug 1576667 - Add creation timestamp to the user_api_keys table to show when an api key was first generated --- diff --git a/template/en/default/account/prefs/apikey.html.tmpl b/template/en/default/account/prefs/apikey.html.tmpl index f2d4d875c..d3d95d1b4 100644 --- a/template/en/default/account/prefs/apikey.html.tmpl +++ b/template/en/default/account/prefs/apikey.html.tmpl @@ -32,6 +32,7 @@ here. Sticky keys may only be used from the last IP that used the API key, and c API key Description (optional) + Created Last used Sticky Revoked @@ -48,6 +49,9 @@ here. Sticky keys may only be used from the last IP that used the API key, and c id="description_[% api_key.id FILTER html %]" value="[% api_key.description FILTER html %]"> + + [% api_key.creation_ts FILTER time %] + [% IF api_key.last_used %] [% api_key.last_used FILTER time %] [% IF api_key.last_used_ip %] ([% api_key.last_used_ip FILTER html %]) [% END %]