From 5348573fdf88d2d9261ede567c137c151ae0d2e2 Mon Sep 17 00:00:00 2001 From: Matthias Beckert Date: Thu, 11 Apr 2019 10:32:42 +0200 Subject: Allow admin users to set a repositoires visibility to public, even if FORCE_PRIVATE is to true (#6541) (#6572) Signed-off-by: Matthias Beckert --- templates/repo/settings/options.tmpl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'templates/repo/settings/options.tmpl') diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index 94fbcbe651..7e25206c9d 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -19,7 +19,11 @@
+ {{if .IsAdmin}} + + {{else}} + {{end}}
-- cgit v1.2.3