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

13 lines
645 B
Text
Raw Normal View History

2016-04-02 18:10:28 +05:30
.top-area
.nav-controls
= form_tag request.original_url, method: :get, class: 'project-filter-form', id: 'project-filter-form' do |f|
- if @projects.present?
= 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
2016-04-02 18:10:28 +05:30
= link_to new_project_path(namespace_id: @group.id), class: 'btn btn-new pull-right' do
= icon('plus')
New Project
2015-04-26 12:48:37 +05:30
2016-04-02 18:10:28 +05:30
.projects-list-holder
2015-10-24 18:46:33 +05:30
= render 'shared/projects/list', projects: @projects, projects_limit: 20, stars: false, skip_namespace: true