diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-09 11:33:41 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-09 11:33:41 -0500 |
commit | 1c75a0e27c31b64b6426e0a4315e9ce7363d3b13 (patch) | |
tree | fcac6120f79d78e0dcb1774ab841423c92ee6e2d /app/views/admin/groups | |
parent | 88cb02baadfec724078a2bc2ec41d7509eec7ca9 (diff) | |
download | gitlab-ce-1c75a0e27c31b64b6426e0a4315e9ce7363d3b13.tar.gz |
Add badge-pill to .badge in haml
Diffstat (limited to 'app/views/admin/groups')
-rw-r--r-- | app/views/admin/groups/_group.html.haml | 2 | ||||
-rw-r--r-- | app/views/admin/groups/show.html.haml | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/app/views/admin/groups/_group.html.haml b/app/views/admin/groups/_group.html.haml index 47cc2d4d27e..e08510829e4 100644 --- a/app/views/admin/groups/_group.html.haml +++ b/app/views/admin/groups/_group.html.haml @@ -5,7 +5,7 @@ = link_to 'Edit', admin_group_edit_path(group), id: "edit_#{dom_id(group)}", class: 'btn' = link_to 'Delete', [:admin, group], data: { confirm: "Are you sure you want to remove #{group.name}?" }, method: :delete, class: 'btn btn-remove' .stats - %span.badge + %span.badge.badge-pill = storage_counter(group.storage_size) %span 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 |