A minimalistic, no-js client for twister.net.co
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.8 KiB

<li class="list-group-item media">
{{#user}}
{{#username}}
<a class="{{#fromMe}}pull-right{{/fromMe}}{{^fromMe}}pull-left{{/fromMe}} thumbnail" href="{{site_root}}/user/{{.}}" title="@{{.}}'s profile">
<img class="media-object avatar" src="{{#avatar}}{{.}}{{/avatar}}{{^avatar}}/assets/img/genericPerson.png{{/avatar}}" alt="{{fullname}}">
</a>
{{/username}}
{{^username}}
<a class="pull-left thumbnail" href="#">
<img class="media-object avatar" src="{{site_root}}/assets/img/twister-64.jpg" alt="{{fullname}}">
</a>
{{/username}}
{{/user}}
<div class="media-body">
{{#user}}
{{#username}}
<h5 class="media-heading">
<span class="pull-right small">
<a title="View twist details" href="{{site_root}}/twist/{{.}}/{{k}}">{{time}}</a>
</span>
{{#rt_user}}
<small>
<a href="{{site_root}}/user/{{username}}" title="@{{username}}'s profile">{{fullname}}</a>
<span class="glyphicon glyphicon-retweet"></span>
</small>
{{/rt_user}}
<a href="{{site_root}}/user/{{.}}" title="@{{.}}'s profile"><strong>{{fullname}}</strong></a>
{{^is_twist}}{{#reply}}
<small>
<span class="glyphicon glyphicon-share-alt"></span>
{{#user}}<a title="Re: @{{username}}'s twist" href="{{site_root}}/twist/{{username}}/{{k}}">{{fullname}}</a>{{/user}}
</small>
{{/reply}}{{/is_twist}}
</h5>
{{/username}}
{{^username}}
<h5 class="media-heading">
<span class="pull-right small">{{time}}</span>
<a href="{{site_root}}/">{{fullname}}</a>
</h5>
{{/username}}
{{/user}}
{{{message}}}
</div>
</li>