From: hernani Date: Sat, 12 Jun 2010 01:35:49 +0000 (+0000) Subject: Some more places to show a user is suspended. X-Git-Tag: live~720 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/e56473b84a25d665bd56725cafc4cc284121ed93?ds=sidebyside Some more places to show a user is suspended. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@412 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/skins/default/templates/users/info.html b/forum/skins/default/templates/users/info.html index ab6a34f..b533f00 100644 --- a/forum/skins/default/templates/users/info.html +++ b/forum/skins/default/templates/users/info.html @@ -7,7 +7,7 @@ {% load markup %} {% load user_tags %} -
+
{{view_user.username}}
@@ -21,8 +21,13 @@ @@ -46,7 +51,7 @@ {% if view_user.last_seen %} {% trans "last seen" %} - {% diff_date view_user.last_seen %} + {% diff_date view_user.last_login %} {% endif %} {% if view_user.website %} diff --git a/forum/skins/default/templates/users/menu.html b/forum/skins/default/templates/users/menu.html index 65d726e..18b886f 100644 --- a/forum/skins/default/templates/users/menu.html +++ b/forum/skins/default/templates/users/menu.html @@ -25,8 +25,11 @@ {% endif %} {% endif %} - -
  • {% trans "reputation bonus" %}
  • + {% if not user.is_suspended %} +
  • + {% trans "reputation bonus" %} +
  • + {% endif %} {% if not user.is_superuser %} {% if not user.is_staff %}
  • diff --git a/forum/skins/default/templates/users/users.html b/forum/skins/default/templates/users/users.html index 2247f5b..a79058d 100644 --- a/forum/skins/default/templates/users/users.html +++ b/forum/skins/default/templates/users/users.html @@ -48,7 +48,7 @@