summaryrefslogtreecommitdiff
path: root/templates/mod/pm.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/mod/pm.html')
-rw-r--r--templates/mod/pm.html15
1 files changed, 9 insertions, 6 deletions
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 %}
<tr>
<th>{% trans 'Date' %}</th>
- <td>{{ time|date(config.post_date) }}</td>
+ <td>{{ time|date(config.post_date) }} <small>({{ time|ago }} ago)</small></td>
+
</tr>
<tr>
<th>{% trans 'Message' %}</th>
@@ -32,10 +33,12 @@
<li style="padding:5px 0">
<input type="submit" name="delete" value="{% trans 'Delete forever' %}">
</li>
- <li style="padding:5px 0">
- <a href="?/PM/{{ id }}/reply">
- {% trans 'Reply with quote' %}
- </a>
- </li>
+ {% if mod|hasPermission(config.mod.create_pm) %}
+ <li style="padding:5px 0">
+ <a href="?/PM/{{ id }}/reply">
+ {% trans 'Reply with quote' %}
+ </a>
+ </li>
+ {% endif %}
</ul>
</form>