diff options
author | Fatih Acet <acetfatih@gmail.com> | 2019-07-09 14:46:16 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-07-09 14:46:16 +0300 |
commit | 14e2412ee4969d7b4124ebedbc2dd76eb0ebda47 (patch) | |
tree | 9dc20e20231713aa00fbaae2e46d976fee52d245 /app/views | |
parent | a87e2c99dc3215b8caeb670a810aa6c41b733776 (diff) |
CE Port of Allow bulk update for group issues
This is a port MR for CE
Original MR:
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14141
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/groups/issues.html.haml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/groups/issues.html.haml b/app/views/groups/issues.html.haml index 91d17cfd745..f05e269553a 100644 --- a/app/views/groups/issues.html.haml +++ b/app/views/groups/issues.html.haml @@ -1,3 +1,5 @@ +- @can_bulk_update = can?(current_user, :admin_issue, @group) + - page_title "Issues" = content_for :meta_tags do = auto_discovery_link_tag(:atom, safe_params.merge(rss_url_options).to_h, title: "#{@group.name} issues") @@ -9,8 +11,15 @@ = render 'shared/issuable/nav', type: :issues .nav-controls = render 'shared/issuable/feed_buttons' + + - if @can_bulk_update + = render_if_exists 'shared/issuable/bulk_update_button' + = render 'shared/new_project_item_select', path: 'issues/new', label: "New issue", type: :issues, with_feature_enabled: 'issues', with_shared: false, include_projects_in_subgroups: true = render 'shared/issuable/search_bar', type: :issues + - if @can_bulk_update + = render_if_exists 'shared/issuable/group_bulk_update_sidebar', group: @group, type: :issues + = render 'shared/issues' |