14 lines
640 B
Text
14 lines
640 B
Text
%ul.nav-links
|
|
- if project_nav_tab? :pipelines
|
|
= nav_link(controller: :pipelines) do
|
|
= link_to project_pipelines_path(@project), title: 'Pipelines', class: 'shortcuts-pipelines' do
|
|
%span
|
|
Pipelines
|
|
%span.badge.count.ci_counter= number_with_delimiter(@project.pipelines.running_or_pending.count)
|
|
|
|
- if project_nav_tab? :builds
|
|
= nav_link(controller: %w(builds)) do
|
|
= link_to project_builds_path(@project), title: 'Builds', class: 'shortcuts-builds' do
|
|
%span
|
|
Builds
|
|
%span.badge.count.builds_counter= number_with_delimiter(@project.running_or_pending_build_count)
|