Commit 5bf11d02 authored by Bryce Johnson's avatar Bryce Johnson

Stub out service desk frontend.

parent eca1fdc3
console.log("Service desk issues entry point");
- @no_container = true
- @can_bulk_update = can?(current_user, :admin_issue, @project)
- page_title "Service Desk"
- new_issue_email = @project.new_issue_address(current_user)
-# = content_for :sub_nav do
= render "projects/issues/head"
- content_for :page_specific_javascripts do
= webpack_bundle_tag 'common_vue'
= webpack_bundle_tag 'filtered_search'
= webpack_bundle_tag 'service_desk_issues'
= webpack_bundle_tag 'issues'
-# = content_for :meta_tags do
= auto_discovery_link_tag(:atom, params.merge(rss_url_options), title: "#{@project.name} issues")
- if show_new_nav?
- content_for :breadcrumbs_extra do
= render "projects/issues/nav_btns"
- if project_issues(@project).exists?
-# = render 'projects/issues/export_issues/csv_download'
%div{ class: (container_class) }
.top-area
= render 'shared/issuable/nav', type: :issues
.nav-controls{ class: ("visible-xs" if show_new_nav?) }
= render "projects/issues/nav_btns"
= render 'shared/issuable/search_bar', type: :issues
- if @can_bulk_update
= render 'shared/issuable/bulk_update_sidebar', type: :issues
.issues-holder
= render 'issues' #fix
- if new_issue_email
= render 'issue_by_email', email: new_issue_email
- else
-# = render 'shared/empty_states/issues', button_path: new_project_issue_path(@project)
......@@ -73,6 +73,7 @@ var config = {
protected_tags: './protected_tags',
ee_protected_tags: 'ee/protected_tags',
service_desk: './projects/settings_service_desk/service_desk_bundle.js',
service_desk_issues: './service_desk_issues/index.js',
repo: './repo/index.js',
sidebar: './sidebar/sidebar_bundle.js',
schedule_form: './pipeline_schedules/pipeline_schedule_form_bundle.js',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment