Moved the monitoring button inside the show view for the environments page

This commit is contained in:
Jose Ivan Vargas 2017-04-06 15:44:21 -05:00
parent 00e00cacf8
commit 57d6346b7c
2 changed files with 5 additions and 1 deletions

View file

@ -8,9 +8,9 @@
%h3.page-title= @environment.name
.col-md-5
.nav-controls
= render 'projects/environments/metrics_button', environment: @environment
= render 'projects/environments/terminal_button', environment: @environment
= render 'projects/environments/external_url', environment: @environment
= render 'projects/environments/metrics_button', environment: @environment
- if can?(current_user, :update_environment, @environment)
= link_to 'Edit', edit_namespace_project_environment_path(@project.namespace, @project, @environment), class: 'btn'
- if can?(current_user, :create_deployment, @environment) && @environment.can_stop?

View file

@ -0,0 +1,4 @@
---
title: Moved the monitoring button inside the show view for the environments page
merge_request:
author: