gitlab-org--gitlab-foss/app/views/dashboard/_groups.html.haml

20 lines
743 B
Text
Raw Normal View History

.panel.panel-default
.panel-heading.clearfix
= search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter form-control'
- if current_user.can_create_group?
2014-07-31 11:57:41 -04:00
= link_to new_group_path, class: "btn btn-new pull-right" do
2014-10-01 18:21:29 -04:00
%i.fa.fa-plus
2014-07-31 11:57:41 -04:00
New group
%ul.well-list.dash-list
2012-10-02 12:37:53 -04:00
- groups.each do |group|
2013-07-09 13:52:06 -04:00
%li.group-row
2012-11-23 13:31:09 -05:00
= link_to group_path(id: group.path), class: dom_class(group) do
= image_tag group_icon(group.path), class: "avatar s24"
2013-07-13 02:55:46 -04:00
%span.group-name.filter-title
= truncate(group.name, length: 35)
%span.arrow
2014-10-01 18:21:29 -04:00
%i.fa.fa-angle-right
- if groups.blank?
%li
.nothing-here-block You have no groups yet.