debian-mirror-gitlab/app/views/projects/issues/service_desk.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
1 KiB
Text
Raw Normal View History

2020-07-28 23:09:34 +05:30
- @can_bulk_update = false
- page_title _("Service Desk")
2021-01-03 14:25:43 +05:30
- add_page_specific_style 'page_bundles/issues_list'
2020-07-28 23:09:34 +05:30
- content_for :breadcrumbs_extra do
2022-07-23 23:45:48 +05:30
= render "projects/issues/service_desk/nav_btns", show_export_button: false, show_rss_button: false
2020-07-28 23:09:34 +05:30
2020-10-24 23:57:45 +05:30
- support_bot_attrs = { service_desk_enabled: @project.service_desk_enabled?, **UserSerializer.new.represent(User.support_bot) }.to_json
2020-07-28 23:09:34 +05:30
2022-03-02 08:16:31 +05:30
.js-service-desk-issues.service-desk-issues{ data: { support_bot: support_bot_attrs } }
2020-07-28 23:09:34 +05:30
.top-area
= render 'shared/issuable/nav', type: :issues
.nav-controls.d-block.d-sm-none
2022-07-23 23:45:48 +05:30
= render "projects/issues/service_desk/nav_btns", show_feed_buttons: false, show_import_button: false, show_export_button: false
2020-07-28 23:09:34 +05:30
- if @issues.present?
= render 'shared/issuable/search_bar', type: :issues
2020-10-24 23:57:45 +05:30
- if Gitlab::ServiceDesk.supported?
2022-07-23 23:45:48 +05:30
= render 'projects/issues/service_desk/service_desk_info_content'
2020-07-28 23:09:34 +05:30
.issues-holder
2022-07-23 23:45:48 +05:30
= render 'projects/issues/issues', empty_state_path: 'projects/issues/service_desk/service_desk_empty_state'