Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_projects.html.haml « dashboard « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 252dbf7888232005272c7d380a9a6636b1c33c53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.panel.panel-default
  .panel-heading.clearfix
    .input-group
      = search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'dash-filter form-control'
      - if current_user.can_create_project?
        .input-group-addon.dash-new-project
          = link_to new_project_path do
            %strong 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 namespace_projects_dashboard_path do
            Show all
            %i.fa.fa-angle-right