gitlab-org--gitlab-foss/app/views/dashboard/_groups.html.haml

19 lines
528 B
Plaintext
Raw Normal View History

.ui-box
2013-01-04 21:35:31 +00:00
%h5.title
2012-10-02 16:37:53 +00:00
Groups
%small
(#{groups.count})
- if current_user.can_create_group?
2013-01-30 14:40:43 +00:00
%span.pull-right
2013-01-29 20:29:21 +00:00
= link_to new_group_path, class: "btn btn-tiny info" do
%i.icon-plus
New Group
%ul.well-list
2012-10-02 16:37:53 +00:00
- groups.each do |group|
%li
2012-11-23 18:31:09 +00:00
= link_to group_path(id: group.path), class: dom_class(group) do
%strong.well-title= truncate(group.name, length: 35)
2013-01-30 14:40:43 +00:00
%span.pull-right.light
- if group.owner == current_user
%i.icon-wrench