From 1ea5c8b0ff5ca9f81a06b195a7dff870d784cb02 Mon Sep 17 00:00:00 2001 From: HesterG Date: Wed, 31 May 2023 04:38:55 +0800 Subject: Add show timestamp/seconds and fullscreen options to action page (#24876) Part of #24728 - The timestamp shows local time and is parsed by `date.toLocaleString`; - "show seconds" and "show timestamps" are mutually exclusive, and they can be both hidden. https://github.com/go-gitea/gitea/assets/17645053/89531e54-37b7-4400-a6a0-bb3cc69eb6f5 Update for timestamp format: Screen Shot 2023-05-25 at 09 07 47 --------- Co-authored-by: silverwind Co-authored-by: wxiaoguang --- templates/repo/actions/view.tmpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'templates/repo/actions') diff --git a/templates/repo/actions/view.tmpl b/templates/repo/actions/view.tmpl index 3a3a069cbc..297232fca0 100644 --- a/templates/repo/actions/view.tmpl +++ b/templates/repo/actions/view.tmpl @@ -19,6 +19,9 @@ data-locale-status-skipped="{{.locale.Tr "actions.status.skipped"}}" data-locale-status-blocked="{{.locale.Tr "actions.status.blocked"}}" data-locale-artifacts-title="{{$.locale.Tr "artifacts"}}" + data-locale-show-timestamps="{{.locale.Tr "show_timestamps"}}" + data-locale-show-log-seconds="{{.locale.Tr "show_log_seconds"}}" + data-locale-show-full-screen="{{.locale.Tr "show_full_screen"}}" > -- cgit v1.2.3