From 89a3c0b09d9a7b9a766838f46a426fb457011e21 Mon Sep 17 00:00:00 2001 From: evazion Date: Tue, 24 Mar 2020 17:22:48 -0500 Subject: [PATCH] users: update explanation on account deactivation page. * Refer to it as deactivating your account, not deleting your account. * Update explanation to clarify what is and is not deleted. * Warn that deactivation cannot be undone. --- .../maintenance/user/deletions/show.html.erb | 35 ++++++++++++++----- app/views/static/site_map.html.erb | 1 - 2 files changed, 26 insertions(+), 10 deletions(-) diff --git a/app/views/maintenance/user/deletions/show.html.erb b/app/views/maintenance/user/deletions/show.html.erb index d7daf190e..e7ded1d06 100644 --- a/app/views/maintenance/user/deletions/show.html.erb +++ b/app/views/maintenance/user/deletions/show.html.erb @@ -1,19 +1,36 @@ -<% page_title "Delete Account" %> +<% page_title "Deactivate Account" %>
-

Delete Account

+

Deactivate Account

-

You can delete your account. This will not actually remove your account from the database, but it will do the following things:

+

+ You can deactivate your <%= Danbooru.config.app_name %> account using + the form below. Deactivating your account will do the following things: +

    -
  • Rename your account to a generic string
  • -
  • Scramble your password
  • -
  • Remove all your favorites
  • -
  • Blank out your settings (including email)
  • +
  • Change your name to a generic name
  • +
  • Delete your favorites
  • +
  • Delete your saved searches
  • +
  • Delete your password and email address
  • +
  • Delete your account settings
-

You must enter your password to delete your account.

+

+ The following things will not be deleted: +

+ +
    +
  • Posts you've uploaded
  • +
  • Comments, forum posts, and private messages
  • +
  • Tag edits, wiki edits, translation notes, or any other contributions to the site
  • +
+ +

+ Enter your password below to deactivate your account. This cannot be + undone. Your account cannot be recovered after it is deactivated. +

<%= form_tag(maintenance_user_deletion_path, :method => :delete, :class => "simple_form") do %>
@@ -22,7 +39,7 @@
- <%= submit_tag "Submit" %> + <%= submit_tag "Deactivate account" %>
<% end %>
diff --git a/app/views/static/site_map.html.erb b/app/views/static/site_map.html.erb index e3ee6b7fc..078b9ec7d 100644 --- a/app/views/static/site_map.html.erb +++ b/app/views/static/site_map.html.erb @@ -122,7 +122,6 @@ <% if policy(UserNameChangeRequest).create? %>
  • <%= link_to "Change name", new_user_name_change_request_path %>
  • <% end %> -
  • <%= link_to "Delete account", maintenance_user_deletion_path %>
  • <%= link_to "Dmails", dmails_path(search: { folder: "received" }) %>
  • <%= link_to "Favorites", favorites_path %>
  • <%= link_to "Favorite groups", favorite_groups_path %>