modularize post templates a little more

This commit is contained in:
czaks 2014-04-16 15:01:37 +02:00
parent c4317cdbf7
commit 59874b8376
7 changed files with 39 additions and 54 deletions

3
templates/post/ip.html Normal file
View file

@ -0,0 +1,3 @@
{% if post.mod and post.mod|hasPermission(config.mod.show_ip, board.uri) %}
[<a class="ip-link" style="margin:0;" href="?/IP/{{ post.ip }}">{{ post.ip }}</a>]
{% endif %}