diff options
Diffstat (limited to 'templates/shared/actions/runner_edit.tmpl')
-rw-r--r-- | templates/shared/actions/runner_edit.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shared/actions/runner_edit.tmpl b/templates/shared/actions/runner_edit.tmpl index d64479e19b..c9edc59b1d 100644 --- a/templates/shared/actions/runner_edit.tmpl +++ b/templates/shared/actions/runner_edit.tmpl @@ -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> |