summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue
diff options
context:
space:
mode:
authorTyrone Yeh <siryeh@gmail.com>2022-07-28 18:25:18 +0800
committerGitHub <noreply@github.com>2022-07-28 18:25:18 +0800
commit8b0e07e3685347d2b3fd3792bcec8d0015e84d16 (patch)
tree15e9c1ac1cc80c2b5e38d43a900c3e17f868a120 /templates/repo/issue
parent3bd8f50af819b8dfc86b9fecdfc36ca7774c6a2d (diff)
downloadgitea-8b0e07e3685347d2b3fd3792bcec8d0015e84d16.tar.gz
gitea-8b0e07e3685347d2b3fd3792bcec8d0015e84d16.zip
Add a checkbox to select all issues/PRs (#20177)
Diffstat (limited to 'templates/repo/issue')
-rw-r--r--templates/repo/issue/list.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl
index 04f7dcd6ae..2a53239f1c 100644
--- a/templates/repo/issue/list.tmpl
+++ b/templates/repo/issue/list.tmpl
@@ -28,6 +28,12 @@
<div class="ui divider"></div>
<div id="issue-filters" class="ui stackable grid">
<div class="six wide column">
+ {{if $.CanWriteIssuesOrPulls}}
+ <div class="ui checkbox issue-checkbox-all vm">
+ <input type="checkbox"></input>
+ <label></label>
+ </div>
+ {{end}}
{{template "repo/issue/openclose" .}}
</div>
<div class="ten wide right aligned column">