diff options
author | Achilleas Koutsou <achilleas.k@gmail.com> | 2020-09-03 21:04:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-04 03:04:22 +0800 |
commit | c4360747a3bdd0d5a5a673bfcdee05f9d911ba1e (patch) | |
tree | 4c8ca23dc3f449bc946b6c75c0fec8dd928dbb73 /templates/repo/pulls | |
parent | 23ff182d1f8df2978785772bc58cf0ebfd2aeb0c (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.tmpl | 7 |
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}}"> |