Link to Twitter user in Twitter onebox

This commit is contained in:
Chris Hunt 2013-06-12 22:43:39 -07:00
parent 742b44a977
commit e25f65e482
1 changed files with 8 additions and 4 deletions

View File

@ -8,9 +8,15 @@
</div> </div>
</div> </div>
{{/host}} {{/host}}
<div class='onebox-result-body'> <div class='onebox-result-body'>
{{#user.profile_image_url}}<img src="{{user.profile_image_url}}">{{/user.profile_image_url}} {{#user.profile_image_url}}
<h4>@{{user.screen_name}}</h4> <img src="{{user.profile_image_url}}">{{/user.profile_image_url}}
<h4>
<a href='https://twitter.com/{{user.screen_name}}'>
@{{user.screen_name}}
</a>
</h4>
{{{text}}} {{{text}}}
@ -18,7 +24,5 @@
<a href="{{original_url}}" target="_blank">{{created_at}}</a> <a href="{{original_url}}" target="_blank">{{created_at}}</a>
</div> </div>
</div> </div>
<div class='clearfix'></div> <div class='clearfix'></div>
</div> </div>