gitlabhq/app/views/dashboard/_groups.html.haml

21 lines
598 B
Plaintext
Raw Normal View History

2012-10-03 18:51:14 +02:00
.groups_box
2012-10-02 18:37:53 +02:00
%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.well-list
2012-10-02 18:37:53 +02:00
- groups.each do |group|
%li
2012-11-23 19:31:09 +01:00
= link_to group_path(id: group.path), class: dom_class(group) do
%strong.well-title= truncate(group.name, length: 35)
2012-10-02 18:37:53 +02:00
%span.arrow
→
%span.last_activity
%strong Projects:
2012-11-28 19:09:13 +01:00
%span= group.projects.authorized_for(current_user).count