BigW Consortium Gitlab

Commit bc493bd8 by Annabel Dunstone Committed by Annabel Dunstone Gray

Add pipelines tab to new MR

parent eb541b4f
No related merge requests found
......@@ -18,6 +18,7 @@
= f.hidden_field :target_branch
.mr-compare.merge-request
<<<<<<< 4a8cb230c6ba28ccdcd6da91855005e4fa0c46bf
- if @commits.empty?
.commits-empty
%h4
......@@ -31,6 +32,10 @@
%span.badge= @commits.size
- if @pipeline
%li.builds-tab
= link_to url_for(params), data: {target: 'div#pipelines', action: 'pipelines', toggle: 'tab'} do
Pipelines
%span.badge= @statuses.size
%li.builds-tab
= link_to url_for(params), data: {target: 'div#builds', action: 'builds', toggle: 'tab'} do
Builds
%span.badge= @statuses.size
......@@ -47,6 +52,8 @@
- if @pipeline
#builds.builds.tab-pane
= render "projects/merge_requests/show/builds"
#pipelines.pipelines.tab-pane
= render "projects/merge_requests/show/pipelines"
.mr-loading-status
= spinner
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment