Much better post modifiers: raw HTML, ban messages, etc.

This commit is contained in:
Michael Foster 2013-08-16 21:25:56 +10:00
parent cc62b888af
commit 4876a27232
4 changed files with 26 additions and 51 deletions

View file

@ -108,6 +108,9 @@
{{ post.postControls }}
<div class="body">
{% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %}
{% if post.modifiers['ban message'] %}
{{ config.mod.ban_message|sprintf(post.modifiers['ban message']) }}
{% endif %}
</div>
</div>
<br/>