From e132e4c2b3dc62c2ddb6bdbcc562e67fa61c9fa8 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Mon, 7 May 2012 14:08:40 +1000 Subject: a few permissions-related bugs --- templates/mod/pm.html | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'templates') diff --git a/templates/mod/pm.html b/templates/mod/pm.html index c66dc883..c62cae58 100644 --- a/templates/mod/pm.html +++ b/templates/mod/pm.html @@ -20,7 +20,8 @@ {% endif %} {% trans 'Date' %} - {{ time|date(config.post_date) }} + {{ time|date(config.post_date) }} ({{ time|ago }} ago) + {% trans 'Message' %} @@ -32,10 +33,12 @@
  • -
  • - - {% trans 'Reply with quote' %} - -
  • + {% if mod|hasPermission(config.mod.create_pm) %} +
  • + + {% trans 'Reply with quote' %} + +
  • + {% endif %} -- cgit v1.3