summaryrefslogtreecommitdiff
path: root/app/views/projects/pipelines/_with_tabs.html.haml
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2016-11-24 11:28:48 +0000
committerFilipa Lacerda <filipa@gitlab.com>2016-11-30 17:06:46 +0000
commit640062abdbd1892dfcdd493bdab6d6c7d24fb3a6 (patch)
tree91ff87d5699ad7ad641f49e163bd3eb2c23bb3e5 /app/views/projects/pipelines/_with_tabs.html.haml
parent43e5009a301d474225bf39e0efc5766b4b6be0c1 (diff)
downloadgitlab-ce-640062abdbd1892dfcdd493bdab6d6c7d24fb3a6.tar.gz
Adds tests for tabs in the rspec for pipelines
Adds tests for the Linked Tabs class Removes event listener Adds builds
Diffstat (limited to 'app/views/projects/pipelines/_with_tabs.html.haml')
-rw-r--r--app/views/projects/pipelines/_with_tabs.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/pipelines/_with_tabs.html.haml b/app/views/projects/pipelines/_with_tabs.html.haml
index 49a26b3f374..4cc0e116122 100644
--- a/app/views/projects/pipelines/_with_tabs.html.haml
+++ b/app/views/projects/pipelines/_with_tabs.html.haml
@@ -1,12 +1,12 @@
.tabs-holder
%ul.pipelines-tabs.nav-links.no-top.no-bottom
%li
- = link_to namespace_project_pipeline_path(@project.namespace, @project, @pipeline), data: { target: 'div#js-tab-pipeline', action: 'pipelines', toggle: 'tab' } do
+ = link_to namespace_project_pipeline_path(@project.namespace, @project, @pipeline), data: { target: 'div#js-tab-pipeline', action: 'pipelines', toggle: 'tab' }, class: 'pipeline-tab' do
Pipeline
%li
- = link_to builds_namespace_project_pipeline_path(@project.namespace, @project, @pipeline), data: {target: 'div#js-tab-builds', action: 'builds', toggle: 'tab' } do
+ = link_to builds_namespace_project_pipeline_path(@project.namespace, @project, @pipeline), data: {target: 'div#js-tab-builds', action: 'builds', toggle: 'tab' }, class: 'builds-tab' do
Builds
- %span.badge= pipeline.statuses.count
+ %span.badge.js-builds-counter= pipeline.statuses.count