From 8516dfcb6cb008f286ec84bed4243928acb94844 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 30 Aug 2016 16:18:33 -0700 Subject: #2018 able to sync now for mirrors - Refactor code to use sync.UniqueQueue - Closes #3509 --- templates/repo/settings/options.tmpl | 51 +++++++++++++++++++++++++++--------- 1 file changed, 39 insertions(+), 12 deletions(-) (limited to 'templates/repo/settings') diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index 956669ea..6b61cb7f 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -50,12 +50,26 @@ {{end}} - {{if .Repository.IsMirror}} + +
+ +
+ + + + {{if .Repository.IsMirror}} +

+ {{.i18n.Tr "repo.settings.mirror_settings"}} +

+
+
+ {{.CsrfTokenHtml}} +
- +
- - + +
@@ -64,23 +78,36 @@
- +

{{.i18n.Tr "repo.mirror_address_desc"}}

- {{end}} + +
+ +
+
-
- -
- -
+ +
+ {{.CsrfTokenHtml}} + +
+ + {{.Mirror.Updated}} +
+
+ +
+
+ + {{end}}

{{.i18n.Tr "repo.settings.advanced_settings"}}

-
+ {{.CsrfTokenHtml}} -- cgit v1.2.3