diff options
Diffstat (limited to 'templates/post_thread.html')
| -rw-r--r-- | templates/post_thread.html | 35 |
1 files changed, 3 insertions, 32 deletions
diff --git a/templates/post_thread.html b/templates/post_thread.html index 252e6f11..aa0f1f78 100644 --- a/templates/post_thread.html +++ b/templates/post_thread.html @@ -4,37 +4,8 @@ <div id="thread_{{ post.id }}" data-board="{{ board.uri }}"> {% if not index %}<a id="{{ post.id }}" class="post_anchor"></a>{% endif %} -{% if post.embed %} - {{ post.embed }} -{% elseif post.file == 'deleted' %} - <img class="post-image deleted" src="{{ config.image_deleted }}" alt="" /> -{% elseif post.file and post.file %} - <p class="fileinfo">{% trans %}File:{% endtrans %} <a href="{{ config.uri_img }}{{ post.file }}">{{ post.file }}</a> <span class="unimportant"> - ( - {% if post.thumb == 'spoiler' %} - {% trans %}Spoiler Image{% endtrans %}, - {% endif %} - {{ post.filesize|filesize }} - {% if post.filewidth and post.fileheight %} - , {{ post.filewidth}}x{{ post.fileheight }} - {% if config.show_ratio %} - , {{ post.ratio }} - {% endif %} - {% endif %} - {% if config.show_filename and post.filename %} - , - {% if post.filename|length > config.max_filename_display %} - <span class="postfilename" title="{{ post.filename|e|bidi_cleanup }}">{{ post.filename|truncate(config.max_filename_display)|e|bidi_cleanup }}</span> - {% else %} - <span class="postfilename">{{ post.filename|e|bidi_cleanup }}</span> - {% endif %} - {% endif %} - {% include "post/image_identification.html" %} - ) - </span></p> - {% include "post/image.html" %} -{% endif %} -<div class="post op"><p class="intro"> +{% include 'post/fileinfo.html' %} +<div class="post op" {%if post.num_files > 1%}style='clear:both'{%endif%}><p class="intro"> <input type="checkbox" class="delete" name="delete_{{ post.id }}" id="delete_{{ post.id }}" /> <label for="delete_{{ post.id }}"> {% include 'post/subject.html' %} @@ -77,7 +48,7 @@ {% set lastcount = config.noko50_count %} <a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ config.file_page50|sprintf(post.id) }}">[{% trans %}Last 1 Post{% plural lastcount %}Last {{ count }} Posts{% endtrans %}]</a> {% endif %} - {{ post.postControls }} + {% include 'post/post_controls.html' %} </p> <div class="body"> {% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %} |
