From a9ae2de0f5592c9fa2d2649bfdfc09aca31d1b70 Mon Sep 17 00:00:00 2001 From: Tom Quirk <tquirk@gitlab.com> Date: Tue, 13 Apr 2021 10:38:34 +0930 Subject: [PATCH] Update service template callout link --- .../header/_service_templates_deprecation_callout.html.haml | 2 +- spec/features/callouts/service_templates_deprecation_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/header/_service_templates_deprecation_callout.html.haml b/app/views/layouts/header/_service_templates_deprecation_callout.html.haml index b5afb306e86df..056d4426d5a4b 100644 --- a/app/views/layouts/header/_service_templates_deprecation_callout.html.haml +++ b/app/views/layouts/header/_service_templates_deprecation_callout.html.haml @@ -13,7 +13,7 @@ .gl-alert-body = html_escape_once(s_('AdminSettings|You should migrate to %{doc_link_start}Project integration management%{link_end}, available at %{settings_link_start}Settings > Integrations.%{link_end}')).html_safe % { doc_link_start: doc_link_start, settings_link_start: settings_link_start, link_end: '</a>'.html_safe } .gl-alert-actions - = link_to integrations_admin_application_settings_path, class: 'btn gl-alert-action btn-info btn-md gl-button' do + = link_to admin_application_settings_services_path, class: 'btn gl-alert-action btn-info btn-md gl-button' do %span.gl-button-text = s_('AdminSettings|See affected service templates') = link_to "https://gitlab.com/gitlab-org/gitlab/-/issues/325905", class: 'btn gl-alert-action btn-default btn-md gl-button', target: '_blank', rel: 'noopener noreferrer' do diff --git a/spec/features/callouts/service_templates_deprecation_spec.rb b/spec/features/callouts/service_templates_deprecation_spec.rb index b4ede7073f6a7..b6403b54e290d 100644 --- a/spec/features/callouts/service_templates_deprecation_spec.rb +++ b/spec/features/callouts/service_templates_deprecation_spec.rb @@ -40,7 +40,7 @@ it 'displays callout' do expect(page).to have_content callout_content - expect(page).to have_link 'See affected service templates', href: integrations_admin_application_settings_path + expect(page).to have_link 'See affected service templates', href: admin_application_settings_services_path end context 'when callout is dismissed', :js do -- GitLab