summaryrefslogtreecommitdiff
path: root/app/views/layouts
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-10-14 14:20:27 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-10-14 17:28:38 +0200
commit4d69c6a3361bbc673e853995e3896d31241aa748 (patch)
tree95e0da6e1fbfd400f8e1d27526ee11e7f3c2da6c /app/views/layouts
parent09255eecd0812d35b09613a1cf2402d3108fcc49 (diff)
downloadgitlab-ce-4d69c6a3361bbc673e853995e3896d31241aa748.tar.gz
Refactor builds view
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/nav/_project.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/layouts/nav/_project.html.haml b/app/views/layouts/nav/_project.html.haml
index f52d0ad9c02..53a913fe8f3 100644
--- a/app/views/layouts/nav/_project.html.haml
+++ b/app/views/layouts/nav/_project.html.haml
@@ -41,9 +41,10 @@
- if project_nav_tab? :builds
= nav_link(controller: %w(builds)) do
= link_to project_builds_path(@project), title: 'Builds', class: 'shortcuts-builds', data: {placement: 'right'} do
- = icon('link fw')
+ = icon('cubes fw')
%span
Builds
+ %span.count.builds_counter= @project.ci_builds.running_or_pending.count(:all)
- if project_nav_tab? :network
= nav_link(controller: %w(network)) do