From 4f4b05335e743b2dd2c40fe59971e6dace1306a2 Mon Sep 17 00:00:00 2001
From: RobertJoonas <56999674+RobertJoonas@users.noreply.github.com>
Date: Tue, 16 Aug 2022 16:57:02 +0300
Subject: [PATCH] link to contact page instead of mailto (#2108)
---
lib/plausible_web/templates/auth/activate.html.eex | 2 +-
.../templates/auth/password_reset_request_success.html.eex | 2 +-
lib/plausible_web/templates/auth/register_success.html.eex | 2 +-
.../templates/billing/change_enterprise_plan.html.eex | 2 +-
lib/plausible_web/templates/billing/change_plan.html.eex | 2 +-
.../templates/billing/change_plan_preview.html.eex | 2 +-
lib/plausible_web/templates/billing/upgrade.html.eex | 2 +-
lib/plausible_web/templates/billing/upgrade_to_plan.html.eex | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/lib/plausible_web/templates/auth/activate.html.eex b/lib/plausible_web/templates/auth/activate.html.eex
index c32140c5d..704652d2c 100644
--- a/lib/plausible_web/templates/auth/activate.html.eex
+++ b/lib/plausible_web/templates/auth/activate.html.eex
@@ -24,7 +24,7 @@
<%= if Application.get_env(:plausible, :is_selfhost) do %>
Ask on our <%= link("community-supported forum", to: "https://github.com/plausible/analytics/discussions", class: "text-indigo-600 underline" ) %>
<% else %>
- Contact support@plausible.io if the problem persists
+ Contact us if the problem persists
<% end %>
diff --git a/lib/plausible_web/templates/auth/password_reset_request_success.html.eex b/lib/plausible_web/templates/auth/password_reset_request_success.html.eex
index 21bdd8f41..df28d6659 100644
--- a/lib/plausible_web/templates/auth/password_reset_request_success.html.eex
+++ b/lib/plausible_web/templates/auth/password_reset_request_success.html.eex
@@ -11,7 +11,7 @@
<%= if Application.get_env(:plausible, :is_selfhost) do %>
If you are positive that you are using the correct email address but still aren't receiving the password reset email, please ask on our
community-supported forum.
<% else %>
- If you are positive that you are using the correct email address but still aren't receiving the password reset email, please contact
support@plausible.io.
+ If you are positive that you are using the correct email address but still aren't receiving the password reset email, please
contact us.
<% end %>
diff --git a/lib/plausible_web/templates/auth/register_success.html.eex b/lib/plausible_web/templates/auth/register_success.html.eex
index 6fb2c51be..2a9f8c277 100644
--- a/lib/plausible_web/templates/auth/register_success.html.eex
+++ b/lib/plausible_web/templates/auth/register_success.html.eex
@@ -24,7 +24,7 @@
Didn't receive an email?
- Please check your spam folder and contact
support@plausible.io if the problem persists
+ Please check your spam folder and
contact us if the problem persists
<% end %>
diff --git a/lib/plausible_web/templates/billing/change_enterprise_plan.html.eex b/lib/plausible_web/templates/billing/change_enterprise_plan.html.eex
index 70182fd7a..a09985b55 100644
--- a/lib/plausible_web/templates/billing/change_enterprise_plan.html.eex
+++ b/lib/plausible_web/templates/billing/change_enterprise_plan.html.eex
@@ -62,7 +62,7 @@
- Questions? Contact <%= link("support@plausible.io", to: "mailto:support@plausible.io", class: "text-indigo-500") %>
+ Questions? <%= link("Contact us", to: "https://plausible.io/contact", class: "text-indigo-500") %>
<%= render("_paddle_script.html") %>
diff --git a/lib/plausible_web/templates/billing/change_plan.html.eex b/lib/plausible_web/templates/billing/change_plan.html.eex
index 584bdc97f..044a02864 100644
--- a/lib/plausible_web/templates/billing/change_plan.html.eex
+++ b/lib/plausible_web/templates/billing/change_plan.html.eex
@@ -116,7 +116,7 @@
- Questions? Contact <%= link("support@plausible.io", to: "mailto:support@plausible.io", class: "text-indigo-500") %>
+ Questions? <%= link("Contact us", to: "https://plausible.io/contact", class: "text-indigo-500") %>
<%= render("_paddle_script.html") %>
diff --git a/lib/plausible_web/templates/billing/change_plan_preview.html.eex b/lib/plausible_web/templates/billing/change_plan_preview.html.eex
index 3480a12da..4dcef1b55 100644
--- a/lib/plausible_web/templates/billing/change_plan_preview.html.eex
+++ b/lib/plausible_web/templates/billing/change_plan_preview.html.eex
@@ -78,7 +78,7 @@
- Questions? Contact <%= link("support@plausible.io", to: "mailto:support@plausible.io", class: "text-indigo-500") %>
+ Questions? <%= link("Contact us", to: "https://plausible.io/contact", class: "text-indigo-500") %>
<%= render("_paddle_script.html") %>
diff --git a/lib/plausible_web/templates/billing/upgrade.html.eex b/lib/plausible_web/templates/billing/upgrade.html.eex
index c594c2ba3..e6b145555 100644
--- a/lib/plausible_web/templates/billing/upgrade.html.eex
+++ b/lib/plausible_web/templates/billing/upgrade.html.eex
@@ -122,7 +122,7 @@
- Questions? Contact <%= link("support@plausible.io", to: "mailto:support@plausible.io", class: "text-indigo-500") %>
+ Questions? <%= link("Contact us", to: "https://plausible.io/contact", class: "text-indigo-500") %>
<%= render("_paddle_script.html") %>
diff --git a/lib/plausible_web/templates/billing/upgrade_to_plan.html.eex b/lib/plausible_web/templates/billing/upgrade_to_plan.html.eex
index bb36983f4..2e56dbe17 100644
--- a/lib/plausible_web/templates/billing/upgrade_to_plan.html.eex
+++ b/lib/plausible_web/templates/billing/upgrade_to_plan.html.eex
@@ -61,7 +61,7 @@
- Questions? Contact <%= link("support@plausible.io", to: "mailto:support@plausible.io", class: "text-indigo-500") %>
+ Questions? <%= link("Contact us", to: "https://plausible.io/contact", class: "text-indigo-500") %>
<%= render("_paddle_script.html") %>