summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Faust <wolfgangmcq@gmail.com>2019-08-29 15:53:01 +0000
committerAnnabel Dunstone Gray <annabel.m.gray@gmail.com>2019-08-29 15:53:01 +0000
commite5be205a2384435a67ccff72f8b33df37efd54e7 (patch)
treedfd75d8b9a0d5e602af2e420b8cf5f3a9178b865
parentb51770c66acf4ed7f1aa1df0019abcdb0e4cc130 (diff)
downloadgitlab-ce-e5be205a2384435a67ccff72f8b33df37efd54e7.tar.gz
Make some buttons green again
Fix missing .btn-success class on the following buttons: * 'Create milestone' button * Secondary button on profile tabs `btn-create` was an old class which was was removed in !23232 and replaced with `btn-success`, but these two seem to have been missed in the process.
-rw-r--r--app/views/shared/empty_states/_profile_tabs.html.haml2
-rw-r--r--changelogs/unreleased/fix-create-milestone-btn-success.yml5
2 files changed, 6 insertions, 1 deletions
diff --git a/app/views/shared/empty_states/_profile_tabs.html.haml b/app/views/shared/empty_states/_profile_tabs.html.haml
index 6da40e1b059..98a5a5953d0 100644
--- a/app/views/shared/empty_states/_profile_tabs.html.haml
+++ b/app/views/shared/empty_states/_profile_tabs.html.haml
@@ -12,7 +12,7 @@
%p= current_user_empty_message_description
- if secondary_button_link.present?
- = link_to secondary_button_label, secondary_button_link, class: 'btn btn-create btn-inverted'
+ = link_to secondary_button_label, secondary_button_link, class: 'btn btn-success btn-inverted'
= link_to primary_button_label, primary_button_link, class: 'btn btn-success'
- else
diff --git a/changelogs/unreleased/fix-create-milestone-btn-success.yml b/changelogs/unreleased/fix-create-milestone-btn-success.yml
new file mode 100644
index 00000000000..a1b1d305ce3
--- /dev/null
+++ b/changelogs/unreleased/fix-create-milestone-btn-success.yml
@@ -0,0 +1,5 @@
+---
+title: Fix style of secondary profile tab buttons.
+merge_request: 32010
+author: Wolfgang Faust
+type: fixed