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

23 lines
718 B
Plaintext
Raw Normal View History

.ui-box
%h5.title.clearfix
= search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter'
- if current_user.can_create_group?
2013-01-30 14:40:43 +00:00
%span.pull-right
= link_to new_group_path, class: "btn" do
%i.icon-plus
New Group
%ul.well-list.dash-list
2012-10-02 16:37:53 +00:00
- groups.each do |group|
%li
2012-11-23 18:31:09 +00:00
= link_to group_path(id: group.path), class: dom_class(group) do
%strong.well-title
= truncate(group.name, length: 35)
%span.arrow
→
%span.last_activity
%strong Owner:
%span= group.owner_name
- if groups.blank?
%li
%h3.nothing_here_message You have no groups yet.