Commit a80f871a authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '62968-environment-details-header-border-misaligned' into 'master'

Resolve "Environment details header border misaligned"

Closes #62968

See merge request gitlab-org/gitlab-ce!30011
parents fad63d9e 0fb00b2d
...@@ -31,21 +31,19 @@ ...@@ -31,21 +31,19 @@
= button_to stop_project_environment_path(@project, @environment), class: 'btn btn-danger has-tooltip', method: :post do = button_to stop_project_environment_path(@project, @environment), class: 'btn btn-danger has-tooltip', method: :post do
= s_('Environments|Stop environment') = s_('Environments|Stop environment')
.row.top-area.adjust .top-area
.col-md-7 %h3.page-title= @environment.name
%h3.page-title= @environment.name .nav-controls.ml-auto.my-2
.col-md-5 = render 'projects/environments/terminal_button', environment: @environment
.nav-controls = render 'projects/environments/external_url', environment: @environment
= render 'projects/environments/terminal_button', environment: @environment = render 'projects/environments/metrics_button', environment: @environment
= render 'projects/environments/external_url', environment: @environment - if can?(current_user, :update_environment, @environment)
= render 'projects/environments/metrics_button', environment: @environment = link_to _('Edit'), edit_project_environment_path(@project, @environment), class: 'btn'
- if can?(current_user, :update_environment, @environment) - if can?(current_user, :stop_environment, @environment)
= link_to _('Edit'), edit_project_environment_path(@project, @environment), class: 'btn' = button_tag class: 'btn btn-danger', type: 'button', data: { toggle: 'modal',
- if can?(current_user, :stop_environment, @environment) target: '#stop-environment-modal' } do
= button_tag class: 'btn btn-danger', type: 'button', data: { toggle: 'modal', = sprite_icon('stop')
target: '#stop-environment-modal' } do = s_('Environments|Stop')
= sprite_icon('stop')
= s_('Environments|Stop')
.environments-container .environments-container
- if @deployments.blank? - if @deployments.blank?
......
---
title: Resolve Environment details header border misaligned
merge_request: 30011
author:
type: fixed
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