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:
Kushal Pandya 2019-04-12 10:08:25 +00:00
commit 84d77ccbda
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -0,0 +1,5 @@
---
title: Fixes actions dropdowns in environments page
merge_request: 27160
author:
type: fixed