← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands-website/delete_user into lp:widelands-website

 


Diff comments:

> 
> === added file 'templates/wlprofile/delete_me.html'
> --- templates/wlprofile/delete_me.html	1970-01-01 00:00:00 +0000
> +++ templates/wlprofile/delete_me.html	2018-09-15 07:44:50 +0000
> @@ -0,0 +1,39 @@
> +{% extends "wlprofile/base.html" %}
> +
> +{% load i18n %}
> +{% load wlprofile_extras %}
> +
> +{% block title %}
> +{% trans "Delete me" %} - {{ block.super }}
> +{% endblock %}
> +
> +{% block content %}
> +<h1>{% trans "Delete your account" %}</h1>
> +
> +<div class="blogEntry">
> +	<h3>Hi {{ user }},</h3>
> +	<p>we are sorry that you want to leave our community <img src="/wlmedia/img/smileys/face-sad.png" alt="Sad smiley"></p>
> +	<h3>What deleting yourself means:</h3>
> +	<ul>
> +		<li>Your account will be deactivated. This means:
> +			<ul>
> +				<li>You will immediately logged out and can't log in anymore.</li>

You will be immediately logged out and unable to log in again

> +				<li>The Username "{{ user }}" is preserved and can't be used anymore.</li>

The Username "{{ user }}" will continue to be reserved, so registering again with that username will not be possible.

> +			</ul>
> +		</li>
> +		<li>Your <a href="{% url 'profile_edit' %}">profile</a> will be deleted and your currently used image of the avatar will be deleted.</li>

currently used avatar image

> +		<li>All your <a href="{% url 'messages_inbox' %}">private messages</a> will be moved into the <a href="{% url 'messages_trash' %}">trash</a>.
> +		They stay there until the sender or recipient has also deleted them.</li>

They will stay there until such time that the sender or recipient will also delete them.

> +		<li>All your <a href="{% url 'notification_notices' %}">subscriptions</a> will be removed.</li>
> +		<li>Your email address will be anonymized, so you will not receive any notification mails anymore.</li>

anonymized -> removed?

> +		<li>Everything you posted (forum posts, comments and uploaded maps) will <b>not</b> be deleted. Instead of your users name the string "{{ DELETED_USERNAME }}" will be shown.</li>

<b>Nothing</b> that you have posted (forum posts, comments and uploaded maps) will be deleted. Instead of your user name, the string "{{ DELETED_USERNAME }}" will be shown.

> +		<li>Your online gaming password will be reset.</li>
> +		<li>All dates given in the <a href="{% url 'scheduling_scheduling' %}">Playtime scheduler</a> will be deleted</li>
> +	</ul>
> +	<p class="errormessage"><b>This step can't be undone!</b></p>
> +	<p>
> +		<button type="button" onclick="location.href='{% url 'do_delete' %}';" style="font-weight: normal;">I am sure, please delete me</button>
> +		<button type="button" onclick="location.href='{% url 'profile_edit' %}';">Cancel</button>
> +	</p>
> +</div>
> +{% endblock %}
> 
> === modified file 'templates/wlprofile/view_profile.html'
> --- templates/wlprofile/view_profile.html	2017-07-27 06:01:32 +0000
> +++ templates/wlprofile/view_profile.html	2018-09-15 07:44:50 +0000
> @@ -4,7 +4,13 @@
>  {% load custom_date %}
>  
>  {% block title %}
> -{{ profile.user.username }}'s Profile - {{ block.super }}
> +	{% if not profile.deleted %}
> +		{{ profile.user.username }}'s
> +	{% else %}
> +		Deleted Users Profile

Users -> User for singular Users' for plural

> +	{% endif %}
> +	- Profile
> +	{{ block.super }}
>  {% endblock %}
>  
>  {% block content %}


-- 
https://code.launchpad.net/~widelands-dev/widelands-website/delete_user/+merge/354978
Your team Widelands Developers is subscribed to branch lp:widelands-website.


References