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
|
|
|
|
2023-04-23 21:23:45 +05:30
|
|
|
.page-title-holder.gl-display-flex.gl-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
|
|
|
|
2023-05-27 22:25:52 +05:30
|
|
|
.page-title-controls.gl-display-flex.gl-align-items-center.gl-gap-5
|
|
|
|
= link_to _("Explore projects"), explore_projects_path
|
|
|
|
- if current_user.can_create_project?
|
2023-03-04 22:38:38 +05:30
|
|
|
= render Pajamas::ButtonComponent.new(href: new_project_path, variant: :confirm, button_options: { data: { qa_selector: 'new_project_button' } }) do
|
|
|
|
= _("New project")
|
2018-12-13 13:39:08 +05:30
|
|
|
|
2022-07-23 23:45:48 +05:30
|
|
|
.top-area
|
2023-04-23 21:23:45 +05:30
|
|
|
.scrolling-tabs-container.inner-page-scroll-tabs.gl-flex-grow-1.gl-flex-basis-0.gl-min-w-0
|
2022-07-23 23:45:48 +05:30
|
|
|
.fade-left= sprite_icon('chevron-lg-left', size: 12)
|
|
|
|
.fade-right= sprite_icon('chevron-lg-right', size: 12)
|
|
|
|
= render 'dashboard/projects_nav'
|
2023-03-04 22:38:38 +05:30
|
|
|
.nav-controls
|
|
|
|
= render 'shared/projects/search_form'
|