BigW Consortium Gitlab

_groups.html.haml 528 Bytes
Newer Older
1
.ui-box
2
  %h5.title
3 4 5
    Groups
    %small
      (#{groups.count})
6
    - if current_user.can_create_group?
7
      %span.pull-right
8
        = link_to new_group_path, class: "btn btn-tiny info" do
9 10
          %i.icon-plus
          New Group
11
  %ul.well-list
12
    - groups.each do |group|
13
      %li
14
        = link_to group_path(id: group.path), class: dom_class(group) do
15
          %strong.well-title= truncate(group.name, length: 35)
16
        %span.pull-right.light
17 18
          - if group.owner == current_user
            %i.icon-wrench