From a8dbc455129b110e52aeade1cf7fdbb69258e69a Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Thu, 13 Mar 2025 16:35:28 +0800 Subject: [PATCH] fix --- templates/repo/settings/options.tmpl | 13 ++++- .../repo/settings/push_mirror_sync_modal.tmpl | 50 +++++++++---------- 2 files changed, 34 insertions(+), 29 deletions(-) diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index 0520c87cc1b18..46a63db18b3a1 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -203,8 +203,17 @@ {{range .PushMirrors}} {{.RemoteAddress}} - {{ctx.Locale.Tr "repo.settings.mirror_settings.direction.push"}} - {{if .LastUpdateUnix}}{{DateUtils.FullTime .LastUpdateUnix}}{{else}}{{ctx.Locale.Tr "never"}}{{end}} {{if .LastError}}
{{ctx.Locale.Tr "error"}}
{{end}} + {{ctx.Locale.Tr "repo.settings.mirror_settings.direction.push"}} ({{.Interval}}) + + + {{if .LastUpdateUnix}} + {{DateUtils.FullTime .LastUpdateUnix}} + {{else}} + {{ctx.Locale.Tr "never"}} + {{end}} + {{if .LastError}}{{ctx.Locale.Tr "error"}}{{end}} + + - - - - +
+ {{.CsrfTokenHtml}} + + +
+ + +
+
+ + +
+
+ + +
+