summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/.VERSION2
-rw-r--r--templates/repo/create.tmpl5
-rw-r--r--templates/repo/migrate.tmpl5
3 files changed, 11 insertions, 1 deletions
diff --git a/templates/.VERSION b/templates/.VERSION
index 1ab1a873d4..6d506dcbc0 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.6.17.1025 Beta \ No newline at end of file
+0.6.18.1025 Beta \ No newline at end of file
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl
index c2d1c46014..183da494ca 100644
--- a/templates/repo/create.tmpl
+++ b/templates/repo/create.tmpl
@@ -41,8 +41,13 @@
<div class="inline field">
<label>{{.i18n.Tr "repo.visibility"}}</label>
<div class="ui checkbox">
+ {{if .IsForcedPrivate}}
+ <input name="private" type="checkbox" checked readonly>
+ <label>{{.i18n.Tr "repo.visiblity_helper_forced" | Safe}}</label>
+ {{else}}
<input name="private" type="checkbox" {{if .private}}checked{{end}}>
<label>{{.i18n.Tr "repo.visiblity_helper" | Safe}}</label>
+ {{end}}
</div>
</div>
<div class="inline field {{if .Err_Description}}error{{end}}">
diff --git a/templates/repo/migrate.tmpl b/templates/repo/migrate.tmpl
index 5a76850d0d..c1ed2110af 100644
--- a/templates/repo/migrate.tmpl
+++ b/templates/repo/migrate.tmpl
@@ -65,8 +65,13 @@
<div class="inline field">
<label>{{.i18n.Tr "repo.visibility"}}</label>
<div class="ui checkbox">
+ {{if .IsForcedPrivate}}
+ <input name="private" type="checkbox" checked readonly>
+ <label>{{.i18n.Tr "repo.visiblity_helper_forced" | Safe}}</label>
+ {{else}}
<input name="private" type="checkbox" {{if .private}}checked{{end}}>
<label>{{.i18n.Tr "repo.visiblity_helper" | Safe}}</label>
+ {{end}}
</div>
</div>
<div class="inline field">