summaryrefslogtreecommitdiff
path: root/templates/mod
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-07-31 00:04:57 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-07-31 00:04:57 -0400
commitbb2868896c2f383a913e8e5929627660cc754b14 (patch)
tree4b2d639894552a737f7430742c3fc06de919259d /templates/mod
parent889945f50cd0c2cd1b8f39d7b380133196a93a74 (diff)
Ability to hide IP addresses from mod log
Diffstat (limited to 'templates/mod')
-rw-r--r--templates/mod/log.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/mod/log.html b/templates/mod/log.html
index e75330b5..0aa3f110 100644
--- a/templates/mod/log.html
+++ b/templates/mod/log.html
@@ -18,7 +18,11 @@
{% endif %}
</td>
<td class="minimal">
- <a href="?/IP/{{ log.ip }}">{{ log.ip }}</a>
+ {% if mod|hasPermission(config.mod.show_ip_modlog) %}
+ <a href="?/IP/{{ log.ip }}">{{ log.ip }}</a>
+ {% else %}
+ <em>hidden</em>
+ {% endif %}
</td>
<td class="minimal">
<span title="{{ log.time|date(config.post_date) }}">{{ log.time|ago }}</span>