From f4496c61d9ebae902e4f8054d4bf1cfc87de8fdb Mon Sep 17 00:00:00 2001 From: Antoine GIRARD Date: Wed, 14 Aug 2019 03:39:44 +0200 Subject: [PATCH] gpg/bugfix: Use .ExpiredUnix.IsZero to display green color of forever valid gpg key (#7846) * Use .ExpiredUnix.IsZero for display green color of gpg key * remove useless parentheses --- templates/user/settings/keys_gpg.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/user/settings/keys_gpg.tmpl b/templates/user/settings/keys_gpg.tmpl index c2af8554cdef4..0a4afbfb6352e 100644 --- a/templates/user/settings/keys_gpg.tmpl +++ b/templates/user/settings/keys_gpg.tmpl @@ -16,7 +16,7 @@ {{$.i18n.Tr "settings.delete_key"}} - +
{{range .Emails}}{{.Email}} {{end}}