2019-07-31 22:56:46 +05:30
|
|
|
- project_tab_filter = local_assigns.fetch(:project_tab_filter, "")
|
|
|
|
- feature_project_list_filter_bar = Feature.enabled?(:project_list_filter_bar)
|
|
|
|
|
2015-12-23 02:04:40 +05:30
|
|
|
= content_for :flash_message do
|
|
|
|
= render 'shared/project_limit'
|
2017-09-10 17:25:29 +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= _('Projects')
|
2018-12-13 13:39:08 +05:30
|
|
|
|
|
|
|
- if current_user.can_create_project?
|
|
|
|
.page-title-controls
|
2021-10-27 15:23:28 +05:30
|
|
|
= link_to _("New project"), new_project_path, class: "gl-button btn btn-confirm", data: { qa_selector: 'new_project_button' }
|
2018-12-13 13:39:08 +05:30
|
|
|
|
2022-07-23 23:45:48 +05:30
|
|
|
.top-area
|
|
|
|
.scrolling-tabs-container.inner-page-scroll-tabs.gl-flex-grow-1.gl-min-w-0.gl-w-full
|
|
|
|
.fade-left= sprite_icon('chevron-lg-left', size: 12)
|
|
|
|
.fade-right= sprite_icon('chevron-lg-right', size: 12)
|
|
|
|
= render 'dashboard/projects_nav'
|
2019-07-31 22:56:46 +05:30
|
|
|
- unless feature_project_list_filter_bar
|
|
|
|
.nav-controls
|
|
|
|
= render 'shared/projects/search_form'
|
|
|
|
= render 'shared/projects/dropdown'
|
|
|
|
- if feature_project_list_filter_bar
|
|
|
|
.project-filters
|
|
|
|
= render 'shared/projects/search_bar', project_tab_filter: project_tab_filter
|