The version of vichan running on lainchan.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 line
1.7KB

  1. {% filter remove_whitespace %}
  2. {# tabs and new lines will be ignored #}
  3. <div class="postcontainer" id="pc{{ post.id }}" data-board="{{ board.uri }}">
  4. <div class="sidearrows">&gt;&gt;</div>
  5. <div class="post reply" id="reply_{{ post.id }}">
  6. <p class="intro">
  7. {% if not index %}<a id="{{ post.id }}" class="post_anchor"></a>{% endif %}
  8. <input type="checkbox" class="delete" name="delete_{{ post.id }}" id="delete_{{ post.id }}" />
  9. <label for="delete_{{ post.id }}">
  10. {% include 'post/subject.html' %}
  11. {% include 'post/name.html' %}
  12. {% include 'post/ip.html' %}
  13. {% include 'post/flag.html' %}
  14. {% include 'post/time.html' %}
  15. </label>
  16. {% include 'post/poster_id.html' %}&nbsp;
  17. <a class="post_no" id="post_no_{{ post.id }}" onclick="highlightReply({{ post.id }})" href="{% if isnoko50 %}{{ post.link('', config.file_page50) }}{% else %}{{ post.link }}{% endif %}">No.</a>
  18. <a class="post_no" onclick="citeReply({{ post.id }})" href="{% if isnoko50 %}{{ post.link('q', config.file_page50) }}{% else %}{{ post.link('q') }}{% endif %}">{{ post.id }}</a>
  19. </p>
  20. {% include 'post/fileinfo.html' %}
  21. {% include 'post/post_controls.html' %}
  22. <div class="body" {% if post.files|length > 1 %}style="clear:both"{% endif %}>
  23. {% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %}
  24. {% if post.modifiers['ban message'] %}
  25. {{ config.mod.ban_message|sprintf(post.modifiers['ban message']) }}
  26. {% endif %}
  27. {% if post.modifiers['warning message'] %}
  28. {{ config.mod.warning_message|sprintf(post.modifiers['warning message']) }}
  29. {% endif %}
  30. </div>
  31. </div>
  32. </div>
  33. <br/>
  34. {% endfilter %}