gitlab-org--gitlab-foss/app/views/dashboard/_groups.html.haml
2013-04-01 21:37:39 +03:00

24 lines
665 B
Text

.ui-box
%h5.title
Groups
%span.light
(#{groups.count})
- if current_user.can_create_group?
%span.pull-right
= link_to new_group_path, class: "btn btn-small" do
%i.icon-plus
New Group
%ul.well-list
- groups.each do |group|
%li
= 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.