Archived
1
0

make subject hidden when none

This commit is contained in:
Jeff Becker 2017-02-05 11:32:15 -05:00
parent e6f6d4ef37
commit 674d7fecb2
2 changed files with 4 additions and 2 deletions

View File

@ -677,3 +677,5 @@ th > label {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
[data-subject~="None"] { display: none; }

View File

@ -31,7 +31,7 @@
<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> </span>
<span class="subject">{{post.Subject}}</span> <span data-subject="{{post.Subject}}" class="subject">{{post.Subject}}</span>
<span class="name">{{post.Name}}</span><span class="tripcode">{{{post.Pubkey}}}</span> <span class="name">{{post.Name}}</span><span class="tripcode">{{{post.Pubkey}}}</span>
<time datetime="{{post.DateRFC}}">{{post.Date}}</time> <time datetime="{{post.DateRFC}}">{{post.Date}}</time>
</div> </div>