2019-04-17 11:02:34 +00:00
|
|
|
- project_tab_filter = local_assigns.fetch(:project_tab_filter, "")
|
2019-04-12 12:14:28 +00:00
|
|
|
- feature_project_list_filter_bar = Feature.enabled?(:project_list_filter_bar)
|
2019-04-19 08:36:16 +00:00
|
|
|
|
2015-12-03 00:02:15 +00:00
|
|
|
= content_for :flash_message do
|
|
|
|
= render 'shared/project_limit'
|
2017-07-03 10:58:06 +00:00
|
|
|
|
2019-04-12 11:59:24 +00:00
|
|
|
.page-title-holder.d-flex.align-items-center
|
2018-10-06 14:21:38 +00:00
|
|
|
%h1.page-title= _('Projects')
|
|
|
|
|
|
|
|
- if current_user.can_create_project?
|
|
|
|
.page-title-controls
|
2021-08-17 09:10:02 +00:00
|
|
|
= link_to _("New project"), new_project_path, class: "gl-button btn btn-confirm", data: { qa_selector: 'new_project_button' }
|
2018-10-06 14:21:38 +00:00
|
|
|
|
2017-03-24 10:02:31 +00:00
|
|
|
.top-area.scrolling-tabs-container.inner-page-scroll-tabs
|
2020-06-25 12:09:00 +00:00
|
|
|
.fade-left= sprite_icon('chevron-lg-left', size: 12)
|
|
|
|
.fade-right= sprite_icon('chevron-lg-right', size: 12)
|
2021-11-04 09:12:56 +00:00
|
|
|
= render 'dashboard/projects_nav'
|
2019-04-12 12:14:28 +00:00
|
|
|
- unless feature_project_list_filter_bar
|
2019-04-02 01:12:29 +00:00
|
|
|
.nav-controls
|
|
|
|
= render 'shared/projects/search_form'
|
|
|
|
= render 'shared/projects/dropdown'
|
2019-04-12 12:14:28 +00:00
|
|
|
- if feature_project_list_filter_bar
|
2019-04-02 01:12:29 +00:00
|
|
|
.project-filters
|
2019-04-17 11:02:34 +00:00
|
|
|
= render 'shared/projects/search_bar', project_tab_filter: project_tab_filter
|