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

25 lines
665 B
Text
Raw Normal View History

.ui-box
2013-01-04 16:35:31 -05:00
%h5.title
2012-10-02 12:37:53 -04:00
Groups
2013-04-01 14:37:39 -04:00
%span.light
2012-10-02 12:37:53 -04:00
(#{groups.count})
- if current_user.can_create_group?
2013-01-30 09:40:43 -05:00
%span.pull-right
2013-04-01 14:37:39 -04:00
= link_to new_group_path, class: "btn btn-small" do
%i.icon-plus
New Group
%ul.well-list
2012-10-02 12:37:53 -04:00
- groups.each do |group|
%li
2012-11-23 13:31:09 -05: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.