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>
{{/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>
{{#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>
{{{text}}}
@ -18,7 +24,5 @@
<a href="{{original_url}}" target="_blank">{{created_at}}</a>
</div>
</div>
<div class='clearfix'></div>
</div>