Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-04-09 19:33:41 +0300
committerClement Ho <ClemMakesApps@gmail.com>2018-04-09 19:33:41 +0300
commit1c75a0e27c31b64b6426e0a4315e9ce7363d3b13 (patch)
treefcac6120f79d78e0dcb1774ab841423c92ee6e2d /app/views/admin/groups/show.html.haml
parent88cb02baadfec724078a2bc2ec41d7509eec7ca9 (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.haml10
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