| {% extends "v2/modules/gci/base.html" %} |
| {% comment %} |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| {% endcomment %} |
| |
| {% block stylesheets %} |
| {{ block.super }} |
| <link rel="stylesheet" type="text/css" media="screen" href="/soc/content/{{ app_version }}/css/v2/gci/account_deletion.css" /> |
| {% endblock stylesheets %} |
| |
| {% block page_content %} |
| {% if posted %} |
| <div class="block block-user-message"> |
| <p>You have requested your account to be deleted. All your information will be removed shortly.</p> |
| </div> |
| {% endif %} |
| <div class="block block-page block-delete-account"> |
| <div class="block-form-title"> |
| <span class="title">Moderate account delete request</span> |
| </div> |
| <div class="block-content clearfix"> |
| <div class="delete-info"> |
| Name: {{ profile.name }} |
| </div> |
| <div class="delete-info"> |
| Link ID: {{ profile.link_id }} |
| </div> |
| <div class="delete-info"> |
| User has tasks assigned/closed: {{ has_tasks|yesno:"Yes,No,Maybe" }} |
| </div> |
| <div class="delete-info"> |
| User has created or modified tasks: {{ has_created_or_modified_tasks|yesno:"Yes,No,Maybe" }} |
| </div> |
| <div class="delete-info"> |
| User has task comments: {{ has_task_comments|yesno:"Yes,No,Maybe" }} |
| </div> |
| <div class="delete-info"> |
| User has profiles in previous GCIs: {{ has_other_gci_profiles|yesno:"Yes,No,Maybe" }} |
| </div> |
| <div class="delete-info"> |
| User has profiles in previous GSoCs: {{ has_other_gsoc_profiles|yesno:"Yes,No,Maybe" }} |
| </div> |
| <div class="moderate-delete-message"> |
| {% if has_tasks or has_created_or_modified_tasks or has_task_comments %} |
| Deleting this profile will replace the current user's profile or |
| user entity with a dummy melange_deleted_user entity. |
| {% endif %} |
| </div> |
| <div class="moderate-delete-message"> |
| {% if has_other_gci_profiles or has_other_gsoc_profiles %} |
| Confirming delete will only delete the profile entity for this program |
| and not the corresponding user entity because the user has profiles |
| for other programs. |
| {% endif %} |
| </div> |
| <form action="#" method="post" class="clearfix"> |
| <p class="delete-btn-p"> |
| <input value="Confirm delete" class="delete-btn" type="submit"> |
| </p> |
| </form> |
| </div> |
| </div> |
| {% endblock page_content %} |