show reshared people on hover [ci skip]
This commit is contained in:
parent
7c9aaa0a68
commit
6933eeb675
3 changed files with 18 additions and 0 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -159,6 +159,15 @@ body {
|
|||
i {
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
position : absolute;
|
||||
top : 0;
|
||||
left : 0;
|
||||
|
||||
height : 29px;
|
||||
width : 29px;
|
||||
}
|
||||
}
|
||||
|
||||
.background-color {
|
||||
|
|
|
|||
|
|
@ -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}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue