summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKushal Pandya <kushalspandya@gmail.com>2019-04-12 10:08:25 +0000
committerKushal Pandya <kushalspandya@gmail.com>2019-04-12 10:08:25 +0000
commit84d77ccbda7d90437f118d0e2eef28213879e1c9 (patch)
tree08566b8e15688b2fae162d2a9ae1b6956e8441c2
parent026c92d5fa82fac87386d5691c3d5b1e02f2eb5e (diff)
parent5892e9968beb5770c3a95c0535c23f3b7af82571 (diff)
downloadgitlab-ce-84d77ccbda7d90437f118d0e2eef28213879e1c9.tar.gz
Merge branch '60224-btn-env' into 'master'
Removes extra btn class from dropdown Closes #60224 See merge request gitlab-org/gitlab-ce!27160
-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