gitlabhq/app/views/dashboard/_groups.html.haml
2012-11-28 20:09:13 +02:00

21 lines
601 B
Plaintext

.groups_box
%h5
Groups
%small
(#{groups.count})
- if current_user.can_create_group?
%span.right
= link_to new_admin_group_path, class: "btn very_small info" do
%i.icon-plus
New Group
%ul.unstyled
- groups.each do |group|
%li.wll
= link_to group_path(id: group.path), class: dom_class(group) do
%strong.group_name= truncate(group.name, length: 25)
%span.arrow
→
%span.last_activity
%strong Projects:
%span= group.projects.authorized_for(current_user).count