.ui-box .title.clearfix = search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'dash-filter' - if current_user.can_create_project? %span.pull-right = link_to new_project_path, class: "btn" do %i.icon-plus New Project %ul.well-list.dash-list - projects.each do |project| %li.project-row = link_to project_path(project), class: dom_class(project) do %span.namespace-name - if project.namespace = project.namespace.human_name \/ %span.project-name.filter-title = truncate(project.name, length: 25) %span.arrow %i.icon-angle-right %span.last-activity %span Last activity: %span.date= project_last_activity(project) - if projects.blank? %li %h3.nothing_here_message There are no projects here. - if @projects_count > 20 %li.bottom %strong= link_to "show all projects", projects_dashboard_path