Mercurial > public > sg101
comparison gpp/templates/forums/spammer_nailed.html @ 310:daa2916f5b34
Fixing 145; New url tag behavior (forwards compatibility) in Django 1.3.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 20 Jan 2011 04:03:48 +0000 |
parents | fad7548b7f6e |
children | 3c48a555298d |
comparison
equal
deleted
inserted
replaced
309:8a0bae48b6ca | 310:daa2916f5b34 |
---|---|
1 {% extends 'base.html' %} | 1 {% extends 'base.html' %} |
2 {% load url from future %} | |
2 {% block title %}Spammer Nailed: {{ spammer.username }}{% endblock %} | 3 {% block title %}Spammer Nailed: {{ spammer.username }}{% endblock %} |
3 {% block content %} | 4 {% block content %} |
4 <h2>Spammer Nailed: {{ spammer.username }}</h2> | 5 <h2>Spammer Nailed: {{ spammer.username }}</h2> |
5 <p> | 6 <p> |
6 {% if success %} | 7 {% if success %} |
7 The user <a href="{% url bio-view_profile username=spammer.username %}">{{ spammer.username }}</a> | 8 The user <a href="{% url 'bio-view_profile' username=spammer.username %}">{{ spammer.username }}</a> |
8 has had his/her account deactivated for spamming. | 9 has had his/her account deactivated for spamming. |
9 All forum posts and comments this user has made have been deleted. The site admin has been | 10 All forum posts and comments this user has made have been deleted. The site admin has been |
10 notified of this action. Thanks for helping to keep our site spam-free! | 11 notified of this action. Thanks for helping to keep our site spam-free! |
11 {% else %} | 12 {% else %} |
12 Whoops, something went wrong deactivating the account of | 13 Whoops, something went wrong deactivating the account of |
13 <a href="{% url bio-view_profile username=spammer.username %}">{{ spammer.username }}</a>. | 14 <a href="{% url 'bio-view_profile' username=spammer.username %}">{{ spammer.username }}</a>. |
14 Or, possibly some time has passed and the account was reinstated. If you have any questions, contact | 15 Or, possibly some time has passed and the account was reinstated. If you have any questions, contact |
15 the site admin. | 16 the site admin. |
16 {% endif %} | 17 {% endif %} |
17 </p> | 18 </p> |
18 {% endblock %} | 19 {% endblock %} |