Changeset View
Changeset View
Standalone View
Standalone View
users/templates/users/settings/delete.html
| {% extends 'users/settings/base.html' %} | {% extends 'users/settings/base.html' %} | ||||
| {% block settings %} | {% block settings %} | ||||
| {% with can_be_deleted=user.can_be_deleted %} | {% with can_be_deleted=user.can_be_deleted %} | ||||
| <p class="subtitle">Settings</p> | <p class="subtitle">Settings</p> | ||||
| <h1 class="mb-3">Delete account</h1> | <h1 class="mb-3">Delete account</h1> | ||||
| <div class="settings-form"> | <div class="settings-form"> | ||||
| <div class="row"> | <div class="row"> | ||||
| <div class="col"> | <div class="col"> | ||||
| <!--h2 class="mb-0">Delete my account and all data linked to it</h2--> | <!--h2 class="mb-0">Delete my account and all data linked to it</h2--> | ||||
| <div> | <div> | ||||
| <p> | <p> | ||||
| You can request deletion of your account in <a href="{{ BLENDER_ID.BASE_URL }}">Blender ID</a>. | You can request deletion of your account in <a href="{{ BLENDER_ID.BASE_URL }}">Blender ID</a>. | ||||
| </p> | </p> | ||||
| {% if not can_be_deleted %} | {% if not can_be_deleted %} | ||||
| <div class="alert alert-dark" role="alert"> | <div class="alert alert-dark" role="alert"> | ||||
| <i class="material-icons align-middle mr-1">info</i> | <i class="material-icons align-middle mr-1">info</i> | ||||
| <span>Note that your account has publicly visible content, such as blog posts or assets, that cannot be deleted from Blender Cloud.</span> | <span>Note that your account has publicly visible content, such as blog posts or assets, that cannot be deleted from Blender Cloud.</span> | ||||
| </div> | </div> | ||||
| {% endif %} | {% endif %} | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| {% endwith %} | {% endwith %} | ||||
| {% endblock settings %} | {% endblock settings %} | ||||