summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2019-04-09 09:39:27 +0100
committerFilipa Lacerda <filipa@gitlab.com>2019-04-09 09:49:57 +0100
commit5892e9968beb5770c3a95c0535c23f3b7af82571 (patch)
tree53004f25938e33132a2311dcf7ad85af74ae8163
parent425377f35747131bed6550170af576d3028b28f9 (diff)
downloadgitlab-ce-5892e9968beb5770c3a95c0535c23f3b7af82571.tar.gz
Removes extra btn class from dropdown60224-btn-env
In the deployments page, the links inside a dropdown had an extra btn class
-rw-r--r--app/views/projects/deployments/_actions.haml2
-rw-r--r--changelogs/unreleased/60224-btn-env.yml5
2 files changed, 6 insertions, 1 deletions
diff --git a/app/views/projects/deployments/_actions.haml b/app/views/projects/deployments/_actions.haml
index e45c5be76de..c84c376d57b 100644
--- a/app/views/projects/deployments/_actions.haml
+++ b/app/views/projects/deployments/_actions.haml
@@ -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
diff --git a/changelogs/unreleased/60224-btn-env.yml b/changelogs/unreleased/60224-btn-env.yml
new file mode 100644
index 00000000000..5053ddb31fa
--- /dev/null
+++ b/changelogs/unreleased/60224-btn-env.yml
@@ -0,0 +1,5 @@
+---
+title: Fixes actions dropdowns in environments page
+merge_request: 27160
+author:
+type: fixed