We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b2d399 commit 7ffa3fcCopy full SHA for 7ffa3fc
templates/user/settings/keys_gpg.tmpl
@@ -16,7 +16,7 @@
16
{{$.i18n.Tr "settings.delete_key"}}
17
</button>
18
</div>
19
- <i class="mega-octicon octicon-key {{if or (eq .ExpiredUnix 0) ($.PageStartTime.Before .ExpiredUnix.AsTime)}}green{{end}}"></i>
+ <i class="mega-octicon octicon-key {{if or .ExpiredUnix.IsZero ($.PageStartTime.Before .ExpiredUnix.AsTime)}}green{{end}}"></i>
20
<div class="content">
21
{{range .Emails}}<strong>{{.Email}} </strong>{{end}}
22
<div class="print meta">
0 commit comments