diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-09 19:33:41 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-09 19:33:41 +0300 |
commit | 1c75a0e27c31b64b6426e0a4315e9ce7363d3b13 (patch) | |
tree | fcac6120f79d78e0dcb1774ab841423c92ee6e2d /app/views/admin/groups/show.html.haml | |
parent | 88cb02baadfec724078a2bc2ec41d7509eec7ca9 (diff) |
Add badge-pill to .badge in haml
Diffstat (limited to 'app/views/admin/groups/show.html.haml')
-rw-r--r-- | app/views/admin/groups/show.html.haml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/admin/groups/show.html.haml b/app/views/admin/groups/show.html.haml index 324f3c0a22f..f2a62ee0aa0 100644 --- a/app/views/admin/groups/show.html.haml +++ b/app/views/admin/groups/show.html.haml @@ -62,14 +62,14 @@ .panel-heading %h3.panel-title Projects - %span.badge + %span.badge.badge-pill #{@group.projects.count} %ul.well-list - @projects.each do |project| %li %strong = link_to project.full_name, [:admin, project.namespace.becomes(Namespace), project] - %span.badge + %span.badge.badge-pill = storage_counter(project.statistics.storage_size) %span.pull-right.light %span.monospace= project.full_path + '.git' @@ -80,14 +80,14 @@ .panel.panel-default .panel-heading Projects shared with #{@group.name} - %span.badge + %span.badge.badge-pill #{@group.shared_projects.count} %ul.well-list - @group.shared_projects.sort_by(&:name).each do |project| %li %strong = link_to project.full_name, [:admin, project.namespace.becomes(Namespace), project] - %span.badge + %span.badge.badge-pill = storage_counter(project.statistics.storage_size) %span.pull-right.light %span.monospace= project.full_path + '.git' @@ -115,7 +115,7 @@ .panel-heading %strong= @group.name group members - %span.badge= @group.members.size + %span.badge.badge-pill= @group.members.size .pull-right = link_to icon('pencil-square-o', text: 'Manage access'), polymorphic_url([@group, :members]), class: "btn btn-xs" %ul.well-list.group-users-list.content-list.members-list |