aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/migrate.tmpl
diff options
context:
space:
mode:
authorAchilleas Koutsou <achilleas.k@gmail.com>2020-09-03 21:04:22 +0200
committerGitHub <noreply@github.com>2020-09-04 03:04:22 +0800
commitc4360747a3bdd0d5a5a673bfcdee05f9d911ba1e (patch)
tree4c8ca23dc3f449bc946b6c75c0fec8dd928dbb73 /templates/repo/migrate.tmpl
parent23ff182d1f8df2978785772bc58cf0ebfd2aeb0c (diff)
repo: support unlisted but publicly accessible repositories (#6176)
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
Diffstat (limited to 'templates/repo/migrate.tmpl')
-rw-r--r--templates/repo/migrate.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/repo/migrate.tmpl b/templates/repo/migrate.tmpl
index e10b07cd..055a29c1 100644
--- a/templates/repo/migrate.tmpl
+++ b/templates/repo/migrate.tmpl
@@ -81,6 +81,13 @@
</div>
</div>
<div class="inline field">
+ <label></label>
+ <div class="ui checkbox">
+ <input name="unlisted" type="checkbox">
+ <label>{{.i18n.Tr "repo.unlisted_helper" | Safe}}</label>
+ </div>
+ </div>
+ <div class="inline field">
<label>{{.i18n.Tr "repo.migrate_type"}}</label>
<div class="ui checkbox">
<input name="mirror" type="checkbox" {{if .mirror}}checked{{end}}>