fix gpg tmpl (#3153)

pull/3156/head
Lunny Xiao 7 years ago committed by GitHub
parent b82519cadc
commit 3b525d5696
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      templates/user/settings/keys_gpg.tmpl

@ -16,7 +16,7 @@
{{$.i18n.Tr "settings.delete_key"}} {{$.i18n.Tr "settings.delete_key"}}
</button> </button>
</div> </div>
<i class="mega-octicon octicon-key {{if or .Expired.IsZero (.Expired.After $.PageStartTime)}}green{{end}}"></i> <i class="mega-octicon octicon-key {{if or (eq .ExpiredUnix 0) ($.PageStartTime.Before .ExpiredUnix.AsTime)}}green{{end}}"></i>
<div class="content"> <div class="content">
{{range .Emails}}<strong>{{.Email}} </strong>{{end}} {{range .Emails}}<strong>{{.Email}} </strong>{{end}}
<div class="print meta"> <div class="print meta">

Loading…
Cancel
Save