From e5be205a2384435a67ccff72f8b33df37efd54e7 Mon Sep 17 00:00:00 2001 From: Wolfgang Faust Date: Thu, 29 Aug 2019 15:53:01 +0000 Subject: [PATCH] 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. --- app/views/shared/empty_states/_profile_tabs.html.haml | 2 +- changelogs/unreleased/fix-create-milestone-btn-success.yml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changelogs/unreleased/fix-create-milestone-btn-success.yml 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