This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
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
master
Antoine GIRARD
Lunny Xiao
5 years ago
parent
0b2d399b1c
commit
7ffa3fcfa0
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
templates/user/settings/keys_gpg.tmpl
+ 1
- 1
templates/user/settings/keys_gpg.tmpl
View File
@@ -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">
Write
Preview
Loading…
Cancel
Save