2012-10-03 18:51:14 +02:00
|
|
|
.groups_box
|
2012-10-02 18:37:53 +02:00
|
|
|
%h5
|
|
|
|
Groups
|
|
|
|
%small
|
|
|
|
(#{groups.count})
|
2012-10-09 08:46:20 +02:00
|
|
|
- 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
|
2012-10-02 18:37:53 +02:00
|
|
|
%ul.unstyled
|
|
|
|
- groups.each do |group|
|
|
|
|
%li.wll
|
2012-10-02 19:42:15 +02:00
|
|
|
= link_to group_path(id: group.code), class: dom_class(group) do
|
2012-10-02 18:37:53 +02:00
|
|
|
%strong.group_name= truncate(group.name, length: 25)
|
|
|
|
%span.arrow
|
|
|
|
→
|
|
|
|
%span.last_activity
|
|
|
|
%strong Projects:
|
|
|
|
%span= group.projects.count
|