mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 19:11:58 +01:00
Fix incorrect last online time in runner_edit.tmpl (#24376)
Before: ![image](https://user-images.githubusercontent.com/18380374/234772748-7f4b416f-4056-4a5e-89f0-727d2fa14a41.png) After: ![image](https://user-images.githubusercontent.com/18380374/234772682-8b076054-d0be-4f5f-892d-8d0427275493.png)
This commit is contained in:
parent
92fd3fc4fd
commit
62ca5825f7
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
</div>
|
||||
<div class="field gt-dib gt-mr-4 disabled">
|
||||
<label>{{.locale.Tr "actions.runners.last_online"}}</label>
|
||||
<span>{{TimeSinceUnix .Runner.LastOnline $.locale}}</span>
|
||||
<span>{{if .LastOnline}}{{TimeSinceUnix .LastOnline $.locale}}{{else}}{{$.locale.Tr "never"}}{{end}}</span>
|
||||
</div>
|
||||
<div class="field gt-dib gt-mr-4 disabled">
|
||||
<label>{{.locale.Tr "actions.runners.agent_labels"}}</label>
|
||||
|
|
Loading…
Reference in a new issue