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

27 lines
1.3 KiB
Text
Raw Normal View History

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
- if show_new_nav? && current_user.can_create_project?
- content_for :breadcrumbs_extra do
= link_to "New project", new_project_path, class: 'btn btn-new'
2017-08-17 22:00:37 +05:30
.top-area.scrolling-tabs-container.inner-page-scroll-tabs
.fade-left= icon('angle-left')
.fade-right= icon('angle-right')
%ul.nav-links.scrolling-tabs
= nav_link(page: [dashboard_projects_path, root_path]) do
= link_to dashboard_projects_path, title: 'Home', class: 'shortcuts-activity', data: {placement: 'right'} do
2017-08-17 22:00:37 +05:30
Your projects
= nav_link(page: starred_dashboard_projects_path) do
= link_to starred_dashboard_projects_path, title: 'Starred Projects', data: {placement: 'right'} do
2017-08-17 22:00:37 +05:30
Starred projects
2016-04-02 18:10:28 +05:30
= nav_link(page: [explore_root_path, trending_explore_projects_path, starred_explore_projects_path, explore_projects_path]) do
= link_to explore_root_path, title: 'Explore', data: {placement: 'right'} do
2017-08-17 22:00:37 +05:30
Explore projects
2015-12-23 02:04:40 +05:30
2017-09-10 17:25:29 +05:30
.nav-controls{ class: ("nav-controls-new-nav" if show_new_nav?) }
2017-08-17 22:00:37 +05:30
= render 'shared/projects/search_form'
2016-06-02 11:05:42 +05:30
= render 'shared/projects/dropdown'
- if current_user.can_create_project?
2017-09-10 17:25:29 +05:30
= link_to "New project", new_project_path, class: "btn btn-new #{("visible-xs" if show_new_nav?)}"