From b17710a7066ee0ebcbd06cd1d29f44f8db4e9fe3 Mon Sep 17 00:00:00 2001 From: Marko Saric <34340819+metmarkosaric@users.noreply.github.com> Date: Tue, 14 Mar 2023 11:47:35 +0100 Subject: [PATCH] Removing the notes about the 48 hour deletion delay (#2735) * Update site.ex * Update settings_danger_zone.html.eex --- lib/plausible/site.ex | 2 +- lib/plausible_web/templates/site/settings_danger_zone.html.eex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plausible/site.ex b/lib/plausible/site.ex index a87af1026..20540aa0e 100644 --- a/lib/plausible/site.ex +++ b/lib/plausible/site.ex @@ -51,7 +51,7 @@ defmodule Plausible.Site do |> validate_domain_reserved_characters() |> unique_constraint(:domain, message: - "This domain cannot be registered. Perhaps one of your colleagues registered it? Or did you recently delete it from your account? The deletion may take up to 48 hours before you can add the same site again. If that's not the case, please contact support@plausible.io" + "This domain cannot be registered. Perhaps one of your colleagues registered it? If that's not the case, please contact support@plausible.io" ) end diff --git a/lib/plausible_web/templates/site/settings_danger_zone.html.eex b/lib/plausible_web/templates/site/settings_danger_zone.html.eex index 59d28293d..0c32d78c5 100644 --- a/lib/plausible_web/templates/site/settings_danger_zone.html.eex +++ b/lib/plausible_web/templates/site/settings_danger_zone.html.eex @@ -38,7 +38,7 @@ Delete site
- Permanently remove all stats and the site configuration too. This process may take up to 48 hours so you won't be able to immediately register the same site again + Permanently remove all stats and the site configuration too
<%= link "Delete #{@site.domain}", to: "/#{URI.encode_www_form(@site.domain)}", method: :delete, class: "inline-block px-4 py-2 border border-transparent font-medium rounded-md text-red-700 dark:text-red-800 bg-red-100 dark:bg-red-200 hover:bg-red-50 dark:hover:bg-red-300 focus:outline-none focus:border-red-300 focus:ring active:bg-red-200 transition ease-in-out duration-150 sm:text-sm sm:leading-5", data: [confirm: "Deleting the site data cannot be reversed. Are you sure?"] %>