Archived
1
0
This repository has been archived on 2023-08-12. You can view files and clone it, but cannot push or open issues or pull requests.
nntpchan/contrib/templates/placebo/post.mustache
Jeff Becker 7c6bb5c40d placebo
2017-04-18 19:42:46 -04:00

38 lines
1.4 KiB
Plaintext

<div id="{{post.PostHash}}"
{{#OP}}
class="messageroot"
{{/OP}}
{{^OP}}
class="message"
{{/OP}}
data-frontend="{{post.Frontend}}"
data-newsgroup="{{post.Board}}"
data-msgid="{{post.MessageID}}"
data-msgidhash="{{post.PostHash}}"
data-rootmsgid="{{post.Reference}}"
data-rootmsgidhash="{{post.ReferenceHash}}"
{{#post.Sage}}
data-sage="1"
{{/post.Sage}}
{{#post.IsI2P}}
data-origin="i2p"
{{/post.IsI2P}}
{{#post.IsTor}}
data-origin="tor"
{{/post.IsTor}}
{{#post.IsClearnet}}
data-origin="clearnet"
{{/post.IsClearnet}}
data-posturl="{{post.PostURL}}">
{{#post.Attachments}}
<a href="{{Source}}" class="image_link" target="_blank" title="{{Filename}}"><img src="{{Thumbnail}}" class="image" /></a>
{{/post.Attachments}}
<a name="{{post.PostHash}}"></a><span class="topicline"><b>{{post.subject}}</b> {{post.Name}} <span class="published">{{post.Posted}}</span> <a href="{{post.PostURL}}" onclick="return '>>{{post.ShortHash}}';">&#8470;</a>
<a href="{{post.PostURL}}" onclick="return quickreply('${articlehash}', '${articlehash_full}');">&#8470; {{post.ShortHash}}</a>
</span>
<span class="frontend"> {{post.MessageID}} </span>
<br /><br />
<span class="message_span">{{post.RenderBodyPre}}</span>
<br style="clear: both;" />
</div>