2015-12-02 19:02:15 -05:00
|
|
|
= content_for :flash_message do
|
|
|
|
= render 'shared/project_limit'
|
2015-12-21 15:47:29 -05:00
|
|
|
.top-area
|
2016-01-13 09:58:04 -05:00
|
|
|
%ul.nav-links
|
2015-12-21 15:47:29 -05:00
|
|
|
= nav_link(page: [dashboard_projects_path, root_path]) do
|
|
|
|
= link_to dashboard_projects_path, title: 'Home', class: 'shortcuts-activity', data: {placement: 'right'} do
|
2016-11-26 23:34:19 -05:00
|
|
|
Your projects
|
2015-12-21 15:47:29 -05:00
|
|
|
= nav_link(page: starred_dashboard_projects_path) do
|
|
|
|
= link_to starred_dashboard_projects_path, title: 'Starred Projects', data: {placement: 'right'} do
|
2016-11-26 23:34:19 -05:00
|
|
|
Starred projects
|
2016-02-02 20:01:33 -05:00
|
|
|
= nav_link(page: [explore_root_path, trending_explore_projects_path, starred_explore_projects_path, explore_projects_path]) do
|
2015-12-21 15:47:29 -05:00
|
|
|
= link_to explore_root_path, title: 'Explore', data: {placement: 'right'} do
|
2016-11-26 23:34:19 -05:00
|
|
|
Explore projects
|
2015-12-02 19:02:15 -05:00
|
|
|
|
2016-02-02 19:08:30 -05:00
|
|
|
.nav-controls
|
2017-03-01 11:17:26 -05:00
|
|
|
= form_tag request.fullpath, method: :get, class: 'project-filter-form', id: 'project-filter-form' do |f|
|
|
|
|
= render "shared/projects/filter_fields"
|
|
|
|
= search_field_tag :name, params[:name], placeholder: 'Filter by name...', class: 'project-filter-form-field form-control input-short projects-list-filter', spellcheck: false, id: 'project-filter-form-field', tabindex: "2"
|
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?
|
|
|
|
= link_to new_project_path, class: 'btn btn-new' do
|
|
|
|
New Project
|