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:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-04-26 21:20:58 +0300
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-05-05 00:45:37 +0300
commitfc20639c8d76b367dc0e0b66ef94033697b28dc7 (patch)
tree8193653258d1f894173ae18fcf5b2cfa41f6d7e5 /app/views/projects/builds
parent7878eb9fa69123981281c2d71a2964dca1b459ee (diff)
Builds page redesign
Diffstat (limited to 'app/views/projects/builds')
-rw-r--r--app/views/projects/builds/index.html.haml13
1 files changed, 7 insertions, 6 deletions
diff --git a/app/views/projects/builds/index.html.haml b/app/views/projects/builds/index.html.haml
index d842dd54e6b..fcb1e656d72 100644
--- a/app/views/projects/builds/index.html.haml
+++ b/app/views/projects/builds/index.html.haml
@@ -6,20 +6,21 @@
%li{class: ('active' if @scope.nil?)}
= link_to project_builds_path(@project) do
All
- %span.badge.js-totalbuilds-count
- = number_with_delimiter(@all_builds.count(:id))
+ %span.js-totalbuilds-count
+ (#{number_with_delimiter(@all_builds.count(:id))})
+
%li{class: ('active' if @scope == 'running')}
= link_to project_builds_path(@project, scope: :running) do
Running
- %span.badge.js-running-count
- = number_with_delimiter(@all_builds.running_or_pending.count(:id))
+ %span.js-running-count
+ (#{number_with_delimiter(@all_builds.running_or_pending.count(:id))})
%li{class: ('active' if @scope == 'finished')}
= link_to project_builds_path(@project, scope: :finished) do
Finished
- %span.badge.js-running-count
- = number_with_delimiter(@all_builds.finished.count(:id))
+ %span.js-running-count
+ (#{number_with_delimiter(@all_builds.finished.count(:id))})
.nav-controls
- if can?(current_user, :update_build, @project)