From 1e2fe9f0b4b7a0f9ac2b692b1ad86ca7363f5337 Mon Sep 17 00:00:00 2001 From: Antoine GIRARD Date: Wed, 14 Aug 2019 04:59:10 +0200 Subject: [PATCH] gpg/bugfix: Use .ExpiredUnix.IsZero to display green color of forever valid gpg key (#7846) (#7850) * 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 c2af8554cde..0a4afbfb635 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}}