debian-mirror-gitlab/app/views/groups/_projects.html.haml

12 lines
540 B
Text
Raw Normal View History

.projects-list-holder
.projects-search-form
2015-04-26 12:48:37 +05:30
.input-group
2015-10-24 18:46:33 +05:30
= search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'projects-list-filter form-control', spellcheck: false
2015-04-26 12:48:37 +05:30
- if can? current_user, :create_projects, @group
%span.input-group-btn
2015-10-24 18:46:33 +05:30
= link_to new_project_path(namespace_id: @group.id), class: 'btn btn-green' do
%i.fa.fa-plus
New Project
2015-04-26 12:48:37 +05:30
2015-10-24 18:46:33 +05:30
= render 'shared/projects/list', projects: @projects, projects_limit: 20, stars: false, skip_namespace: true