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

12 lines
562 B
Text
Raw Normal View History

2015-09-25 12:07:36 +05:30
.panel.panel-default.projects-list-holder
2015-04-26 12:48:37 +05:30
.panel-heading.clearfix
.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