discourse/lib/oneboxer/templates/twitter_onebox.hbrs
2013-02-05 14:16:51 -05:00

25 lines
609 B
Plaintext

<div class='onebox-result'>
{{#host}}
<div class="source">
<div class="info">
<a href='{{original_url}}' target="_blank">
{{#favicon}}<img class='favicon' src="{{favicon}}"> {{/favicon}}{{host}}
</a>
</div>
</div>
{{/host}}
<div class='onebox-result-body'>
{{#user.profile_image_url}}<img src="{{user.profile_image_url}}">{{/user.profile_image_url}}
<h4>@{{user.screen_name}}</h4>
{{{text}}}
<div class='date'>
<a href="{{original_url}}" target="_blank">{{created_at}}</a>
</div>
</div>
<div class='clearfix'></div>
</div>