show reshared people on hover [ci skip]

This commit is contained in:
danielgrippi 2012-04-25 17:22:59 -07:00
parent 7c9aaa0a68
commit 6933eeb675
3 changed files with 18 additions and 0 deletions

View file

@ -32,6 +32,9 @@ app.views.SmallFrame = app.views.Post.extend({
initialize : function() {
this.$el.addClass([this.dimensionsClass(), this.colorClass(), this.frameClass()].join(' '))
console.log(this.model)
return this;
},
postRenderTemplate : function() {

View file

@ -159,6 +159,15 @@ body {
i {
margin-left: 3px;
}
.avatar {
position : absolute;
top : 0;
left : 0;
height : 29px;
width : 29px;
}
}
.background-color {

View file

@ -30,6 +30,12 @@
{{/if}}
<div class="info">
{{#if root}}
{{#linkToPerson root.author}}
{{{personImage this}}
{{/linkToPerson}}
{{/if}}
<i class="icon-heart"></i> {{likes_count}}
<i class="icon-retweet"></i> {{reshares_count}}
<i class="icon-comment"></i> {{comments_count}}