Ability to hide IP addresses from mod log

This commit is contained in:
Michael Foster committed 2013-07-31 00:04:57 -04:00
1 parent 889945f50c
commit bb2868896c
2 files changed
+7 -1

No files matched your search

+5 -1
View File
@@ -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>