gitlabhq/app/views/dashboard/_groups.html.haml
2013-02-28 17:14:21 +04:00

21 lines
599 B
Plaintext

.groups_box
%h5.title
Groups
%small
(#{groups.count})
- if current_user.can_create_group?
%span.pull-right
= link_to new_group_path, class: "btn btn-tiny info" 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.edit.light
- if group.owner == current_user
%i.icon-wrench
%span.description
%strong= group.description