From e249b392248e0d599fe5ae76cedbc9c080607669 Mon Sep 17 00:00:00 2001 From: Jason Song Date: Fri, 6 Jan 2023 18:08:43 +0800 Subject: [PATCH] chore: rename to actions.runners.last_online --- options/locale/locale_en-US.ini | 2 +- templates/shared/actions/runner_edit.tmpl | 2 +- templates/shared/actions/runner_list.tmpl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 3d057840d4..a2528586d9 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -3258,7 +3258,7 @@ runners.id = ID runners.owner_type = Type runners.description = Description runners.labels = Labels -runners.latest_online = Last Online Time +runners.last_online = Last Online Time runners.agent_labels = Agent Labels runners.custom_labels = Custom Labels runners.custom_labels_helper = Custom labels are labels that are added manually by an administrator. A comma separates labels, whitespace at the start and end of each label are ignored. diff --git a/templates/shared/actions/runner_edit.tmpl b/templates/shared/actions/runner_edit.tmpl index df267d007e..37ec3dd92c 100644 --- a/templates/shared/actions/runner_edit.tmpl +++ b/templates/shared/actions/runner_edit.tmpl @@ -13,7 +13,7 @@ {{.Runner.StatusLocaleName $.locale}}
- + {{TimeSinceUnix .Runner.LastOnline $.locale}}
diff --git a/templates/shared/actions/runner_list.tmpl b/templates/shared/actions/runner_list.tmpl index bd8936cec1..70cbb95965 100644 --- a/templates/shared/actions/runner_list.tmpl +++ b/templates/shared/actions/runner_list.tmpl @@ -50,7 +50,7 @@ {{.locale.Tr "actions.runners.id"}} {{.locale.Tr "actions.runners.owner_type"}} {{.locale.Tr "actions.runners.labels"}} - {{.locale.Tr "actions.runners.latest_online"}} + {{.locale.Tr "actions.runners.last_online"}}