Archived
1
0

change post.mustache format to be "better"

This commit is contained in:
Jeff Becker 2016-07-18 08:02:42 -04:00
parent 17f3b25e51
commit 64b5531fed

View File

@ -29,15 +29,23 @@
{{#post.IsClearnet}} {{#post.IsClearnet}}
<img src="{{post.Prefix}}static/clearnet.png" title="{{#i18n.Translations}}{{from_clearnet}}{{/i18n.Translations}}" /> <img src="{{post.Prefix}}static/clearnet.png" title="{{#i18n.Translations}}{{from_clearnet}}{{/i18n.Translations}}" />
{{/post.IsClearnet}} {{/post.IsClearnet}}
<span class="frontend">{{post.Frontend}}</span>
</span> </span>
<span class="subject">{{post.Subject}}</span> <div>
<span class="name">{{post.Name}}</span> Subject: <span class="subject">{{post.Subject}}</span>
<span class="msgid">{{post.MessageID}}</span> </div>
<time datetime="{{post.DateRFC}}">{{post.Date}}</time> <div>
Name: <span class="name">&lt;{{post.Name}}@{{post.Frontend}}&gt;</span><span clas="tripcode">{{{post.Pubkey}}}</span>
</div>
<div>
MessageID: <span class="msgid">{{post.MessageID}}</span>
</div>
<div>
Date: <time datetime="{{post.DateRFC}}">{{post.Date}}</time>
</div>
<div>
<a class="postno" onclick="nntpchan_reply(this, '{{post.ShortHash}}');" title="{{post.MessageID}}" root="{{post.Reference}}" boardname="{{post.Board}}">&gt;&gt;{{post.ShortHash}}</a> <a class="postno" onclick="nntpchan_reply(this, '{{post.ShortHash}}');" title="{{post.MessageID}}" root="{{post.Reference}}" boardname="{{post.Board}}">&gt;&gt;{{post.ShortHash}}</a>
<a href="{{post.PostURL}}">[{{#i18n.Translations}}{{reply_label}}{{/i18n.Translations}}]</a> <a href="{{post.PostURL}}">[{{#i18n.Translations}}{{reply_label}}{{/i18n.Translations}}]</a>
<span class="tripcode">{{{post.Pubkey}}}</span> </div>
</legend> </legend>
<div class="attachments"> <div class="attachments">
{{#post.Attachments}} {{#post.Attachments}}