discourse/lib/oneboxer/templates/twitter_onebox.hbrs

29 lines
715 B
Text
Raw Normal View History

2013-02-05 14:16:51 -05:00
<div class='onebox-result'>
{{#host}}
<div class="source">
<div class="info">
2013-04-07 20:24:12 -04:00
<a href='{{original_url}}' class="track-link" target="_blank">
2013-02-05 14:16:51 -05:00
{{#favicon}}<img class='favicon' src="{{favicon}}"> {{/favicon}}{{host}}
</a>
</div>
</div>
{{/host}}
2013-06-13 01:43:39 -04:00
2013-02-05 14:16:51 -05:00
<div class='onebox-result-body'>
2013-06-13 01:43:39 -04:00
{{#user.profile_image_url}}
<img src="{{user.profile_image_url}}">{{/user.profile_image_url}}
<h4>
<a href='https://twitter.com/{{user.screen_name}}'>
@{{user.screen_name}}
</a>
</h4>
2013-02-05 14:16:51 -05:00
{{{text}}}
<div class='date'>
<a href="{{original_url}}" target="_blank">{{created_at}}</a>
</div>
</div>
<div class='clearfix'></div>
</div>