diff --git a/app/assets/javascripts/app/views/small_frame.js b/app/assets/javascripts/app/views/small_frame.js index a826527e8..c04eec24b 100644 --- a/app/assets/javascripts/app/views/small_frame.js +++ b/app/assets/javascripts/app/views/small_frame.js @@ -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() { diff --git a/app/assets/stylesheets/new_styles/_canvas.scss b/app/assets/stylesheets/new_styles/_canvas.scss index 408bb6c57..00242ce6b 100644 --- a/app/assets/stylesheets/new_styles/_canvas.scss +++ b/app/assets/stylesheets/new_styles/_canvas.scss @@ -159,6 +159,15 @@ body { i { margin-left: 3px; } + + .avatar { + position : absolute; + top : 0; + left : 0; + + height : 29px; + width : 29px; + } } .background-color { diff --git a/app/assets/templates/small-frame.jst.hbs b/app/assets/templates/small-frame.jst.hbs index 4975f7029..ae5159d8e 100644 --- a/app/assets/templates/small-frame.jst.hbs +++ b/app/assets/templates/small-frame.jst.hbs @@ -30,6 +30,12 @@ {{/if}}
+ {{#if root}} + {{#linkToPerson root.author}} + {{{personImage this}} + {{/linkToPerson}} + {{/if}} + {{likes_count}} {{reshares_count}} {{comments_count}}