We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92fd3fc commit 62ca582Copy full SHA for 62ca582
templates/shared/actions/runner_edit.tmpl
@@ -13,7 +13,7 @@
13
</div>
14
<div class="field gt-dib gt-mr-4 disabled">
15
<label>{{.locale.Tr "actions.runners.last_online"}}</label>
16
- <span>{{TimeSinceUnix .Runner.LastOnline $.locale}}</span>
+ <span>{{if .LastOnline}}{{TimeSinceUnix .LastOnline $.locale}}{{else}}{{$.locale.Tr "never"}}{{end}}</span>
17
18
19
<label>{{.locale.Tr "actions.runners.agent_labels"}}</label>
0 commit comments