gitlab-org--gitlab-foss/app/views/dashboard/_projects.html.haml

14 lines
552 B
Text
Raw Normal View History

.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?
2015-03-18 23:58:20 -04:00
%span.input-group-btn
= link_to new_project_path, class: 'btn btn-success' do
New project
2012-11-29 22:14:05 -05:00
%ul.projects-list.bordered-list.my-projects
- @projects.each do |project|
%li.project-row
= render partial: 'shared/project', locals: { project: project, avatar: true, stars: true }