mirror of
https://github.com/plausible/analytics.git
synced 2024-11-26 00:24:44 +03:00
Removing the notes about the 48 hour deletion delay (#2735)
* Update site.ex * Update settings_danger_zone.html.eex
This commit is contained in:
parent
8c8cf23bf0
commit
b17710a706
@ -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
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
||||
Delete site
|
||||
</p>
|
||||
<p class="text-sm leading-5 text-gray-500 dark:text-gray-200">
|
||||
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
|
||||
</p>
|
||||
</div>
|
||||
<%= 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?"] %>
|
||||
|
Loading…
Reference in New Issue
Block a user