Archived
1
0

give more info about truncation in board template

This commit is contained in:
Jeff Becker 2016-11-02 14:29:12 -04:00
parent 89a004e8ec
commit 83cc63fc06
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -40,11 +40,29 @@
{{#board.Threads}} {{#board.Threads}}
<div class="thread" id="thread_{{OP.PostHash}}"> <div class="thread" id="thread_{{OP.PostHash}}">
<div class="thread_header"> <div class="thread_header">
<span class="thread_posts">
{{PostCount}} posts
</span>
<span class="thread_images">
{{ImageCount}} images
</span>
</div> </div>
{{{OP.Truncate.RenderPost}}} <div class="truncated_post">
{{#Truncate.Replies}} {{{OP.RenderTruncatedPost}}}
{{{Truncate.RenderPost}}} </div>
{{/Truncate.Replies}} {{#Truncate}}
{{#Replies}}
<div class="truncated_post">
{{{RenderTruncatedPost}}}
</div>
{{/Replies}}
<hr class="thread_exclude" />
<div class="thread_exclude_info">
<span class="thread_exclude_posts">{{MissingPostCount}} posts excluded</span>
<span class="thread_exclude_images">{{MissingImageCount}} images excluded</span>
</div>
<hr class="thread_exclude" />
{{/Truncate}}
<hr /> <hr />
</div> </div>
{{/board.Threads}} {{/board.Threads}}