From c4360747a3bdd0d5a5a673bfcdee05f9d911ba1e Mon Sep 17 00:00:00 2001 From: Achilleas Koutsou Date: Thu, 3 Sep 2020 21:04:22 +0200 Subject: repo: support unlisted but publicly accessible repositories (#6176) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: ᴜɴᴋɴᴡᴏɴ --- templates/repo/create.tmpl | 7 +++++++ templates/repo/header.tmpl | 4 ++-- templates/repo/migrate.tmpl | 7 +++++++ templates/repo/pulls/fork.tmpl | 7 +++++++ templates/repo/settings/options.tmpl | 16 +++++++++++++--- 5 files changed, 36 insertions(+), 5 deletions(-) (limited to 'templates/repo') diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl index 87cc9b1a..176a781a 100644 --- a/templates/repo/create.tmpl +++ b/templates/repo/create.tmpl @@ -50,6 +50,13 @@ {{end}} +
+ +
+ + +
+
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index cacda1ed..ff1fb2eb 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -7,9 +7,9 @@
+
+ +
+ + +
+
diff --git a/templates/repo/pulls/fork.tmpl b/templates/repo/pulls/fork.tmpl index f10c2aa8..e8dac97c 100644 --- a/templates/repo/pulls/fork.tmpl +++ b/templates/repo/pulls/fork.tmpl @@ -49,6 +49,13 @@
+
+
+ +
+ + +
{{.i18n.Tr "repo.fork_visiblity_helper"}}
diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index c8cb973d..5122fc37 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -31,10 +31,20 @@ {{if not .Repository.IsFork}}
-
- - +
+
+
+ + +
+
+
+ + +
+
+
{{end}} -- cgit v1.2.3