From 8bb6581c4113befa516acb1592526ae00441b989 Mon Sep 17 00:00:00 2001 From: Yogi <yoginth@hey.com> Date: Fri, 9 Apr 2021 04:54:41 +0000 Subject: [PATCH] Move to btn-confirm from btn-success in geo directory --- changelogs/unreleased/btn-confirm-geo.yml | 5 +++++ ee/app/views/admin/geo/nodes/index.html.haml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changelogs/unreleased/btn-confirm-geo.yml diff --git a/changelogs/unreleased/btn-confirm-geo.yml b/changelogs/unreleased/btn-confirm-geo.yml new file mode 100644 index 0000000000000..5a37e360da9c7 --- /dev/null +++ b/changelogs/unreleased/btn-confirm-geo.yml @@ -0,0 +1,5 @@ +--- +title: Move to btn-confirm from btn-success in geo directory +merge_request: 58031 +author: Yogi (@yo) +type: changed diff --git a/ee/app/views/admin/geo/nodes/index.html.haml b/ee/app/views/admin/geo/nodes/index.html.haml index 9f464ff2c9a36..48a0f11d64d27 100644 --- a/ee/app/views/admin/geo/nodes/index.html.haml +++ b/ee/app/views/admin/geo/nodes/index.html.haml @@ -8,7 +8,7 @@ %h3{ :class => "page-title" } = _("Geo Nodes") - if @nodes.any? - = link_to s_("GeoNodes|New node"), new_admin_geo_node_path, class: 'gl-button btn btn-success ml-auto qa-new-node-link' + = link_to s_("GeoNodes|New node"), new_admin_geo_node_path, class: 'gl-button btn btn-confirm ml-auto qa-new-node-link' %p.page-subtitle.light = s_('GeoNodes|With %{geo} you can install a special read-only and replicated instance anywhere. Before you add nodes, follow the %{instructions} in the exact order they appear.').html_safe % { geo: link_to('GitLab Geo', help_page_path('administration/geo/index.md'), target: '_blank'), instructions: link_to('setup instructions', help_page_path('administration/geo/setup/index.md'), target: '_blank') } -- GitLab