summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-16 17:47:05 -0500
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-16 17:47:05 -0500
commit1395edc06f0f06e4cfe8b37b49298c739b9eda2e (patch)
tree445693be0eaf986d60980d0ddfeeeb5ed9a8de36
parent2550c1c2bc70beb14293eebb243a2f6f3039d04b (diff)
downloadgitlab-ce-1395edc06f0f06e4cfe8b37b49298c739b9eda2e.tar.gz
Remove deploy to production button
-rw-r--r--app/views/projects/ci/pipelines/_pipeline.html.haml11
1 files changed, 1 insertions, 10 deletions
diff --git a/app/views/projects/ci/pipelines/_pipeline.html.haml b/app/views/projects/ci/pipelines/_pipeline.html.haml
index b53a8633937..ebe4204788e 100644
--- a/app/views/projects/ci/pipelines/_pipeline.html.haml
+++ b/app/views/projects/ci/pipelines/_pipeline.html.haml
@@ -58,16 +58,7 @@
.controls.hidden-xs.pull-right
- artifacts = pipeline.builds.latest.select { |b| b.artifacts? }
- if artifacts.present?
- .btn-group.inline
- .btn-group
- %a.dropdown-toggle.btn.btn-default{type: 'button', 'data-toggle' => 'dropdown'}
- = icon("play")
- %b.caret
- %ul.dropdown-menu.dropdown-menu-align-right
- %li
- = link_to '#' do
- = icon("play")
- %span Deploy to production
+ .inline
.btn-group
%a.dropdown-toggle.btn.btn-default.build-artifacts{type: 'button', 'data-toggle' => 'dropdown'}
= icon("download")