2015-12-02 19:02:15 -05:00
|
|
|
= content_for :flash_message do
|
|
|
|
= render 'shared/project_limit'
|
2017-07-03 06:58:06 -04:00
|
|
|
|
2017-03-24 06:02:31 -04:00
|
|
|
.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
|
|
|
|
Your projects
|
|
|
|
= nav_link(page: starred_dashboard_projects_path) do
|
|
|
|
= link_to starred_dashboard_projects_path, title: 'Starred Projects', data: {placement: 'right'} do
|
|
|
|
Starred projects
|
|
|
|
= 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
|
|
|
|
Explore projects
|
2015-12-02 19:02:15 -05:00
|
|
|
|
2017-09-06 04:38:48 -04:00
|
|
|
.nav-controls
|
2017-03-03 05:13:03 -05:00
|
|
|
= render 'shared/projects/search_form'
|
2016-03-04 10:42:37 -05:00
|
|
|
= render 'shared/projects/dropdown'
|
2016-02-05 05:10:44 -05:00
|
|
|
- if current_user.can_create_project?
|
2017-09-06 04:38:48 -04:00
|
|
|
= link_to "New project", new_project_path, class: "btn btn-new"
|