mirror of
https://github.com/go-gitea/gitea
synced 2024-12-24 09:34:26 +00:00
* Use .ExpiredUnix.IsZero for display green color of gpg key * remove useless parentheses
This commit is contained in:
parent
f3496c88b2
commit
1e2fe9f0b4
@ -16,7 +16,7 @@
|
||||
{{$.i18n.Tr "settings.delete_key"}}
|
||||
</button>
|
||||
</div>
|
||||
<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>
|
||||
<div class="content">
|
||||
{{range .Emails}}<strong>{{.Email}} </strong>{{end}}
|
||||
<div class="print meta">
|
||||
|
Loading…
Reference in New Issue
Block a user