From 7bf16639b85234119d8e50e8fd8a0e184defb4b7 Mon Sep 17 00:00:00 2001 From: Marko Saric <34340819+metmarkosaric@users.noreply.github.com> Date: Wed, 20 Sep 2023 11:50:50 +0200 Subject: [PATCH] Open docs links in new window (#3360) * Some fixes * Open link in new window * open in new window * Open in new window --- lib/plausible_web/live/goal_settings/form.ex | 2 ++ lib/plausible_web/templates/site/settings_funnels.html.heex | 2 ++ lib/plausible_web/templates/site/settings_props.html.heex | 2 +- .../templates/site/settings_search_console.html.eex | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/plausible_web/live/goal_settings/form.ex b/lib/plausible_web/live/goal_settings/form.ex index d3ba08706..7c39b65b9 100644 --- a/lib/plausible_web/live/goal_settings/form.ex +++ b/lib/plausible_web/live/goal_settings/form.ex @@ -165,6 +165,8 @@ defmodule PlausibleWeb.Live.GoalSettings.Form do during the private preview. Pricing will be announced soon. See examples and learn more in our docs.

diff --git a/lib/plausible_web/templates/site/settings_funnels.html.heex b/lib/plausible_web/templates/site/settings_funnels.html.heex index 4cc05a228..cb740b33a 100644 --- a/lib/plausible_web/templates/site/settings_funnels.html.heex +++ b/lib/plausible_web/templates/site/settings_funnels.html.heex @@ -4,6 +4,8 @@ during the private preview. Pricing will be announced soon. See examples and learn more in our docs. diff --git a/lib/plausible_web/templates/site/settings_props.html.heex b/lib/plausible_web/templates/site/settings_props.html.heex index c373b4b09..c043928fd 100644 --- a/lib/plausible_web/templates/site/settings_props.html.heex +++ b/lib/plausible_web/templates/site/settings_props.html.heex @@ -5,7 +5,7 @@ be grandfathered and will keep having access to custom properties without any change to their plan. See examples and learn more in <.link class="font-medium text-yellow underline hover:text-yellow-600" - href="https://plausible.io/docs/custom-pageview-props" + href="https://plausible.io/docs/custom-props/introduction" target="_blank" rel="noreferrer" >our docs. diff --git a/lib/plausible_web/templates/site/settings_search_console.html.eex b/lib/plausible_web/templates/site/settings_search_console.html.eex index 9fb84af5c..c5a230ed8 100644 --- a/lib/plausible_web/templates/site/settings_search_console.html.eex +++ b/lib/plausible_web/templates/site/settings_search_console.html.eex @@ -22,7 +22,7 @@

<% else %>

- Select the Google Search Console property you would like to pull keyword data from. If you don't see your domain, <%= link("set it up and verify", to: "https://plausible.io/docs/google-search-console-integration", class: "text-indigo-500") %> on Search Console first. + Select the Google Search Console property you would like to pull keyword data from. If you don't see your domain, <%= link("set it up and verify", to: "https://plausible.io/docs/google-search-console-integration", class: "text-indigo-500", target: "_blank", rel: "noreferrer") %> on Search Console first.

<% end %>