summaryrefslogtreecommitdiff
path: root/app/views/dashboard/issues.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/dashboard/issues.html.haml')
-rw-r--r--app/views/dashboard/issues.html.haml25
1 files changed, 16 insertions, 9 deletions
diff --git a/app/views/dashboard/issues.html.haml b/app/views/dashboard/issues.html.haml
index 95e772f324b..79f6bfc866a 100644
--- a/app/views/dashboard/issues.html.haml
+++ b/app/views/dashboard/issues.html.haml
@@ -1,6 +1,7 @@
- @hide_top_links = true
- page_title _("Issues")
- @breadcrumb_link = issues_dashboard_path(assignee_username: current_user.username)
+- add_page_specific_style 'page_bundles/dashboard'
= content_for :meta_tags do
= auto_discovery_link_tag(:atom, safe_params.merge(rss_url_options).to_h, title: "#{current_user.name} issues")
@@ -13,14 +14,20 @@
.page-title-controls
= render 'shared/new_project_item_select', path: 'issues/new', label: _("issue"), with_feature_enabled: 'issues', type: :issues
-.top-area
- = render 'shared/issuable/nav', type: :issues, display_count: !@no_filters_set
- .nav-controls
- = render 'shared/issuable/feed_buttons'
+- if ::Feature.enabled?(:vue_issues_dashboard)
+ .js-issues-dashboard{ data: { calendar_path: url_for(safe_params.merge(calendar_url_options)),
+ empty_state_svg_path: image_path('illustrations/issue-dashboard_results-without-filter.svg'),
+ is_signed_in: current_user.present?.to_s,
+ rss_path: url_for(safe_params.merge(rss_url_options)) } }
+- else
+ .top-area
+ = render 'shared/issuable/nav', type: :issues, display_count: !@no_filters_set
+ .nav-controls
+ = render 'shared/issuable/feed_buttons'
-= render 'shared/issuable/search_bar', type: :issues
+ = render 'shared/issuable/search_bar', type: :issues
-- if current_user && @no_filters_set
- = render 'shared/dashboard/no_filter_selected'
-- else
- = render 'shared/issues'
+ - if current_user && @no_filters_set
+ = render 'shared/dashboard/no_filter_selected'
+ - else
+ = render 'shared/issues'