From 51eb2a81a8947638d5499993ac3786463c70b981 Mon Sep 17 00:00:00 2001
From: Joshua Lambert <joshua@gitlab.com>
Date: Wed, 19 Apr 2017 16:36:21 +0000
Subject: [PATCH] Remove manual deployment controls from Environment metrics
 page

---
 app/views/projects/environments/metrics.html.haml             | 3 ---
 ...itoring-page-displays-button-to-control-manual-actions.yml | 4 ++++
 2 files changed, 4 insertions(+), 3 deletions(-)
 create mode 100644 changelogs/unreleased/29734-prometheus-monitoring-page-displays-button-to-control-manual-actions.yml

diff --git a/app/views/projects/environments/metrics.html.haml b/app/views/projects/environments/metrics.html.haml
index 2e54af698aa..766f119116f 100644
--- a/app/views/projects/environments/metrics.html.haml
+++ b/app/views/projects/environments/metrics.html.haml
@@ -13,9 +13,6 @@
           Environment:
           = link_to @environment.name, environment_path(@environment)
 
-      .col-sm-6
-        .nav-controls
-          = render 'projects/deployments/actions', deployment: @environment.last_deployment
   .prometheus-state
     .js-getting-started.hidden
       .row
diff --git a/changelogs/unreleased/29734-prometheus-monitoring-page-displays-button-to-control-manual-actions.yml b/changelogs/unreleased/29734-prometheus-monitoring-page-displays-button-to-control-manual-actions.yml
new file mode 100644
index 00000000000..ca4a8889454
--- /dev/null
+++ b/changelogs/unreleased/29734-prometheus-monitoring-page-displays-button-to-control-manual-actions.yml
@@ -0,0 +1,4 @@
+---
+title: Remove pipeline controls for last deployment from Environment monitoring page
+merge_request: 10769
+author:
-- 
2.30.9