Merge branch '60224-btn-env' into 'master'
Removes extra btn class from dropdown Closes #60224 See merge request gitlab-org/gitlab-ce!27160
This commit is contained in:
commit
84d77ccbda
2 changed files with 6 additions and 1 deletions
|
@ -10,5 +10,5 @@
|
||||||
- actions.each do |action|
|
- actions.each do |action|
|
||||||
- next unless can?(current_user, :update_build, action)
|
- next unless can?(current_user, :update_build, action)
|
||||||
%li
|
%li
|
||||||
= link_to [:play, @project.namespace.becomes(Namespace), @project, action], method: :post, rel: 'nofollow', class: 'btn' do
|
= link_to [:play, @project.namespace.becomes(Namespace), @project, action], method: :post, rel: 'nofollow' do
|
||||||
%span= action.name
|
%span= action.name
|
||||||
|
|
5
changelogs/unreleased/60224-btn-env.yml
Normal file
5
changelogs/unreleased/60224-btn-env.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Fixes actions dropdowns in environments page
|
||||||
|
merge_request: 27160
|
||||||
|
author:
|
||||||
|
type: fixed
|
Loading…
Reference in a new issue