diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2015-01-20 10:16:26 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2015-01-20 10:16:26 +0300 |
commit | 46755a7bfec1a35ff7967cf92ed8da3d911d32f0 (patch) | |
tree | 407b470595d41bc6ea05e4e8900cd76e5794a391 /app/views | |
parent | 2fba31890e922fa8bae61e7aa3f21c5b4314e735 (diff) |
Disable 'check all issues' checkbox for unprivileged users.
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/issues/_issues.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/issues/_issues.html.haml b/app/views/projects/issues/_issues.html.haml index 010ca3b68b3..816851a8abe 100644 --- a/app/views/projects/issues/_issues.html.haml +++ b/app/views/projects/issues/_issues.html.haml @@ -1,6 +1,6 @@ .append-bottom-10 .check-all-holder - = check_box_tag "check_all_issues", nil, false, class: "check_all_issues left" + = check_box_tag "check_all_issues", nil, false, class: "check_all_issues left", disabled: !can?(current_user, :modify_issue, @project) = render 'shared/issuable_filter' .clearfix |