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 a9f2343b5..bf9029513 100644 --- a/lib/plausible_web/templates/site/settings_danger_zone.html.eex +++ b/lib/plausible_web/templates/site/settings_danger_zone.html.eex @@ -4,13 +4,28 @@
Destructive actions below can result in irrecoverable data loss. Be careful.
+ <%= if @conn.assigns[:current_user_role] == :owner do %> ++ Transfer site ownership +
++ Transfer ownership of the site to a different account +
+Reset stats
- Removes all pageviews but keeps the site configuration + Reset all stats but keep the site configuration intact
Delete site
- Removes all stats along with the site configuration + Permanently remove all stats and the site configuration too. This process takes a few hours so you won't be able to immediately register the same site again