diff --git a/views/settings/account.erb b/views/settings/account.erb index 5b93074a..48f3a0b5 100644 --- a/views/settings/account.erb +++ b/views/settings/account.erb @@ -31,6 +31,9 @@ <% if current_site.stripe_paying_supporter? %>
  • Change Card
  • <% end %> + <% if parent_site == current_site && parent_site.children_dataset.count == 0 %> +
  • Delete Account
  • + <% end %>
    @@ -50,6 +53,11 @@ <%== erb :'settings/account/billing' %>
    <% end %> + <% if parent_site == current_site && parent_site.children_dataset.count == 0 %> +
    + <%== erb :'settings/site/delete' %> +
    + <% end %>
    diff --git a/views/settings/account/sites.erb b/views/settings/account/sites.erb index f82814cd..d724edd8 100644 --- a/views/settings/account/sites.erb +++ b/views/settings/account/sites.erb @@ -10,7 +10,7 @@ <% end %> style="border-top: 0px"<% end %>> - Settings + Manage Site Settings <% end %> diff --git a/views/settings/site/delete.erb b/views/settings/site/delete.erb index 0a0ad274..4a36b756 100644 --- a/views/settings/site/delete.erb +++ b/views/settings/site/delete.erb @@ -14,10 +14,6 @@ This will delete your site <%= @site.username %> (<%= @site.host %>). -
  • - If you just want to rename your site, use the Change Site (User) Name tab instead. -
  • - <% if @site.parent? %>
  • You will not be able to use your email address to register a new Neocities account after deleting this one. @@ -40,7 +36,7 @@ <% if @site.parent? %>

    - +

    <% end %>