debian-mirror-gitlab/app/views/dashboard/issues.html.haml

34 lines
1.3 KiB
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
- @hide_top_links = true
2018-05-09 12:01:36 +05:30
- page_title _("Issues")
2019-02-15 15:39:39 +05:30
- @breadcrumb_link = issues_dashboard_path(assignee_username: current_user.username)
2023-01-13 00:05:48 +05:30
- add_page_specific_style 'page_bundles/dashboard'
2015-09-11 14:41:01 +05:30
= content_for :meta_tags do
2018-06-27 16:04:02 +05:30
= auto_discovery_link_tag(:atom, safe_params.merge(rss_url_options).to_h, title: "#{current_user.name} issues")
2015-09-11 14:41:01 +05:30
2021-04-17 20:07:23 +05:30
= render_dashboard_ultimate_trial(current_user)
2019-02-15 15:39:39 +05:30
2019-07-31 22:56:46 +05:30
.page-title-holder.d-flex.align-items-center
2022-07-23 23:45:48 +05:30
%h1.page-title.gl-font-size-h-display= _('Issues')
2018-12-13 13:39:08 +05:30
- if current_user
.page-title-controls
2022-03-02 08:16:31 +05:30
= render 'shared/new_project_item_select', path: 'issues/new', label: _("issue"), with_feature_enabled: 'issues', type: :issues
2018-12-05 23:21:45 +05:30
2023-01-13 00:05:48 +05:30
- 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'
2015-09-11 14:41:01 +05:30
2023-01-13 00:05:48 +05:30
= render 'shared/issuable/search_bar', type: :issues
2018-05-09 12:01:36 +05:30
2023-01-13 00:05:48 +05:30
- if current_user && @no_filters_set
= render 'shared/dashboard/no_filter_selected'
- else
= render 'shared/issues'