From f28ca293b78405d798f1df78a39d549157a57c07 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Tue, 6 Sep 2016 15:49:49 +0300 Subject: Add bulk update support for merge requests list Signed-off-by: Dmitriy Zaporozhets --- app/views/projects/issues/index.html.haml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/views/projects/issues/index.html.haml') diff --git a/app/views/projects/issues/index.html.haml b/app/views/projects/issues/index.html.haml index 1a87045aa60..023ea5f17d7 100644 --- a/app/views/projects/issues/index.html.haml +++ b/app/views/projects/issues/index.html.haml @@ -1,4 +1,6 @@ - @no_container = true +- @bulk_edit = can?(current_user, :admin_issue, @project) + - page_title "Issues" - new_issue_email = @project.new_issue_address(current_user) = render "projects/issues/head" @@ -29,7 +31,7 @@ New Issue = render 'shared/issuable/filter', type: :issues - .issues-holder + .issues-holder.issuable-list = render 'issues' - if new_issue_email = render 'issue_by_email', email: new_issue_email -- cgit v1.2.1