summaryrefslogtreecommitdiff
path: root/app/views/projects/issues/service_desk.html.haml
blob: fb5880f633a30ae917283827e40dca5559af9015 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- @can_bulk_update = false

- page_title _("Service Desk")
- add_page_specific_style 'page_bundles/issues_list'
- content_for :breadcrumbs_extra do
  = render "projects/issues/nav_btns", show_export_button: false, show_rss_button: false

- support_bot_attrs = { service_desk_enabled: @project.service_desk_enabled?, **UserSerializer.new.represent(User.support_bot) }.to_json

.js-service-desk-issues.service-desk-issues{ data: { support_bot: support_bot_attrs } }
  .top-area
    = render 'shared/issuable/nav', type: :issues
    .nav-controls.d-block.d-sm-none
      = render "projects/issues/nav_btns", show_feed_buttons: false, show_import_button: false, show_export_button: false

  - if @issues.present?
    = render 'shared/issuable/search_bar', type: :issues
    - if Gitlab::ServiceDesk.supported?
      = render 'service_desk_info_content'

  .issues-holder
    = render 'projects/issues/issues', empty_state_path: 'service_desk_empty_state'