Use simpler messaging for ghost account deletion (#5906)

* Use simpler messaging for ghost account deletion

* Add 'have questions' section

* Use same language for confirm destroy page
This commit is contained in:
Andy Zhao 2020-02-06 14:31:18 -05:00 committed by GitHub
parent 5194c009ce
commit 975a716e5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 20 deletions

View file

@ -110,13 +110,12 @@
<% else %>
<p>Please, <%= link_to "provide an email", "/settings/profile" %> to fully delete your account.</p>
<% end %>
<br>
If you would like to keep your content under the <%= link_to "@ghost", "/ghost" %> account, please:
<h3>Request Account Deletion</h3>
<h4 style="font-weight: 400;">
<a href="mailto:<%= SiteConfig.default_site_email %>?subject=Request Account Deletion&body=<%= @email_body %>">
Click this link to request account deletion via email.
</a>
<br>
Be sure to change the email template to fit your needs.
</h4>
<p>
If you would like to keep your content under the <%= link_to "@ghost", "/ghost" %> account,
please <a href="mailto:<%= SiteConfig.default_site_email %>?subject=Request Account Deletion&body=<%= @email_body %>">click here.</a>
</p>
<p>
Feel free to contact <a href="mailto:<%= SiteConfig.default_site_email %>"><%= SiteConfig.default_site_email %></a> with any questions.
</p>

View file

@ -43,15 +43,13 @@
deleteAccountUsernameInput.addEventListener('input', disableDeleteAccountBtn);
deleteAcccountVerificationInput.addEventListener('input', disableDeleteAccountBtn);
</script>
If you would like to keep your content under the <%= link_to "@ghost", "/ghost" %> account, please:
<h3>Request Account Deletion</h3>
<h4 style="font-weight: 400;">
<br>
<a href="mailto:<%= SiteConfig.default_site_email %>?subject=Request Account Deletion&body=<%= @email_body %>">
Click this link to request account deletion via email.
</a>
<br>
Be sure to change the email template to fit your needs.
</h4>
<p>
If you would like to keep your content under the <%= link_to "@ghost", "/ghost" %> account,
please <a href="mailto:<%= SiteConfig.default_site_email %>?subject=Request Account Deletion&body=<%= @email_body %>">click here.</a>
</p>
<p>
Feel free to contact <a href="mailto:<%= SiteConfig.default_site_email %>"><%= SiteConfig.default_site_email %></a> with any questions.
</p>
</div>
</div>