2015-08-25 09:23:25 -04:00
|
|
|
.panel.panel-default.projects-list-holder
|
2015-03-04 20:22:55 -05:00
|
|
|
.panel-heading.clearfix
|
|
|
|
.input-group
|
|
|
|
= search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'projects-list-filter form-control'
|
2015-03-04 21:26:49 -05:00
|
|
|
- if can? current_user, :create_projects, @group
|
2015-03-18 23:58:20 -04:00
|
|
|
%span.input-group-btn
|
|
|
|
= link_to new_project_path(namespace_id: @group.id), class: 'btn btn-success' do
|
|
|
|
New project
|
2015-03-04 20:22:55 -05:00
|
|
|
|
2015-09-03 09:46:13 -04:00
|
|
|
= render 'shared/projects/list', projects: @projects, projects_limit: 20, stars: false
|