diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-09-08 16:49:20 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-09-08 16:49:20 +0300 |
commit | 5d785457db3017a17722314a52433543dd925164 (patch) | |
tree | a030699b752fcd1f161118be70a9df0f625fa0ef /app/views/dashboard/projects/_projects.html.haml | |
parent | 260fcd45209b59ace6b3fd6dcca6c32c2c75a8f1 (diff) |
Clean up overlap between dashboard and explore.
- Split up SnippetsController into separate dashboard and explore sections.
- Use consistent page titles, header titles and sidebars between dashboard and explore sections when signed in or not.
Diffstat (limited to 'app/views/dashboard/projects/_projects.html.haml')
-rw-r--r-- | app/views/dashboard/projects/_projects.html.haml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/dashboard/projects/_projects.html.haml b/app/views/dashboard/projects/_projects.html.haml new file mode 100644 index 00000000000..ef9b9ce756a --- /dev/null +++ b/app/views/dashboard/projects/_projects.html.haml @@ -0,0 +1,10 @@ +.projects-list-holder + .projects-search-form + .input-group + = search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'projects-list-filter form-control' + - if current_user.can_create_project? + %span.input-group-btn + = link_to new_project_path, class: 'btn btn-success' do + New project + + = render 'shared/projects/list', projects: @projects |