diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-21 22:35:09 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-21 22:35:09 -0800 |
commit | 111d95f7b0a31373f080ceb42bed618d92000d58 (patch) | |
tree | ee81c4092379cac951383e3dc91fc0bbc50712d9 | |
parent | 2ac03a86616bf9246593fb5bf2d82a6e262db16b (diff) | |
parent | 46755a7bfec1a35ff7967cf92ed8da3d911d32f0 (diff) | |
download | gitlab-ce-111d95f7b0a31373f080ceb42bed618d92000d58.tar.gz |
Merge pull request #8614 from axilleas/disable_check_all_issues_for_unprivileged_users
Disable 'check all issues' checkbox for unprivileged users.
-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 |