Removes extra btn class from dropdown

In the deployments page, the links inside a
dropdown had an extra btn class
This commit is contained in:
Filipa Lacerda 2019-04-09 09:39:27 +01:00
parent 425377f357
commit 5892e9968b
2 changed files with 6 additions and 1 deletions

View file

@ -10,5 +10,5 @@
- actions.each do |action|
- next unless can?(current_user, :update_build, action)
%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

View file

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