mirror of
https://github.com/go-gitea/gitea.git
synced 2025-04-07 20:25:21 +02:00
fix: show never when LastOnline is 0
This commit is contained in:
parent
2ac8410bab
commit
49e307b968
@ -78,7 +78,7 @@
|
||||
<span class="ui label">{{.}}</span>
|
||||
{{end}}
|
||||
</td>
|
||||
<td>{{TimeSinceUnix .LastOnline $.locale}}</td>
|
||||
<td>{{if .LastOnline}}{{TimeSinceUnix .LastOnline $.locale}}{{else}}{{$.locale.Tr "never"}}{{end}}</td>
|
||||
<td class="runner-ops">
|
||||
{{if .Editable $.RunnerOnwerID $.RunnerRepoID}}
|
||||
<a href="{{$.Link}}/{{.ID}}">{{svg "octicon-pencil"}}</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user