2016-01-14 18:37:52 +05:30
|
|
|
.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
|