gitlab-org--gitlab-foss/app/views/dashboard/_groups.html.haml
2013-07-13 09:55:46 +03:00

22 lines
753 B
Text

.ui-box
%h5.title.clearfix
= search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter'
- if current_user.can_create_group?
%span.pull-right
= link_to new_group_path, class: "btn" do
%i.icon-plus
New Group
%ul.well-list.dash-list
- groups.each do |group|
%li.group-row
= link_to group_path(id: group.path), class: dom_class(group) do
%span.group-name.filter-title
= truncate(group.name, length: 35)
%span.arrow
%i.icon-angle-right
%span.owner-info
%span Owner:
%span.owner= group.owner_name
- if groups.blank?
%li
%h3.nothing_here_message You have no groups yet.