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

11 lines
426 B
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
.panel.panel-default
.panel-heading.clearfix
2015-04-26 12:48:37 +05:30
.input-group
= search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'projects-list-filter form-control'
- if current_user.can_create_project?
%span.input-group-btn
= link_to new_project_path, class: 'btn btn-success' do
New project
2014-09-02 18:07:02 +05:30
2015-04-26 12:48:37 +05:30
= render 'shared/projects_list', projects: @projects, projects_limit: 20