diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-01-11 06:10:14 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-01-11 06:10:14 +0100 |
commit | 0b294fc2bb336dbf564ca7508f4a6b8e0e17682a (patch) | |
tree | c5f8be740de7ee48df13cc5e668fff27853c5725 /app | |
parent | 6ef28ace53abb12e1475746882237cecf8f95d7e (diff) | |
download | gitlab-ce-0b294fc2bb336dbf564ca7508f4a6b8e0e17682a.tar.gz |
Use new tab for link in flash
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/projects/clusters/gcp_controller.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/projects/clusters/gcp_controller.rb b/app/controllers/projects/clusters/gcp_controller.rb index 44ccfaf2402..51bd5e8cfce 100644 --- a/app/controllers/projects/clusters/gcp_controller.rb +++ b/app/controllers/projects/clusters/gcp_controller.rb @@ -42,8 +42,7 @@ class Projects::Clusters::GcpController < Projects::ApplicationController when 'true' return when 'false' - flash[:alert] = _('Please <a href=%{link_to_billing}>enable billing for one of your projects to be able to create a cluster</a>. Please try again.').html_safe % - { link_to_billing: "https://console.cloud.google.com/freetrial?utm_campaign=2018_cpanel&utm_source=gitlab&utm_medium=referral" } + flash[:alert] = _('Please <a href=%{link_to_billing} target="_blank" rel="noopener noreferrer">enable billing for one of your projects to be able to create a cluster</a>. Please try again.').html_safe % { link_to_billing: "https://console.cloud.google.com/freetrial?utm_campaign=2018_cpanel&utm_source=gitlab&utm_medium=referral" } else flash[:alert] = _('We could not verify that one of your projects on GCP has billing enabled. Please try again.') end |