gitlab-org--gitlab-foss/app/views/dashboard/_projects.html.haml
Dmitriy Zaporozhets 9e21e96b2a
Fix dashboard "show more project" link padding
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-14 20:33:12 +03:00

25 lines
831 B
Text

.panel.panel-default
.panel-heading.clearfix
= search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'dash-filter form-control'
- if current_user.can_create_project?
%span.pull-right
= link_to new_project_path, class: "btn btn-new" do
%i.icon-plus
New project
%ul.well-list.dash-list
- projects.each do |project|
%li.project-row
= render "project", project: project
- if projects.blank?
%li
.nothing-here-block There are no projects here.
- if @projects_count > @projects_limit
%li.bottom
%span.light
#{@projects_limit} of #{pluralize(@projects_count, 'project')} displayed.
.pull-right
= link_to projects_dashboard_path do
Show all
%i.icon-angle-right