aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/pulls
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/pulls
parent23ff182d1f8df2978785772bc58cf0ebfd2aeb0c (diff)
repo: support unlisted but publicly accessible repositories (#6176)
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
Diffstat (limited to 'templates/repo/pulls')
-rw-r--r--templates/repo/pulls/fork.tmpl7
1 files changed, 7 insertions, 0 deletions
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 @@
<input type="checkbox" {{if .IsPrivate}}checked{{end}}>
<label>{{.i18n.Tr "repo.visiblity_helper" | Safe}}</label>
</div>
+ </div>
+ <div class="inline field">
+ <label></label>
+ <div class="ui read-only checkbox">
+ <input type="checkbox" {{if .IsUnlisted}}checked{{end}}>
+ <label>{{.i18n.Tr "repo.unlisted_helper" | Safe}}</label>
+ </div>
<span class="help">{{.i18n.Tr "repo.fork_visiblity_helper"}}</span>
</div>
<div class="inline field {{if .Err_Description}}error{{end}}">