From 896c098a07429d685fc0a6e48ba924b42339f979 Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Sun, 26 Feb 2012 21:17:20 -0800 Subject: [PATCH] changed handlebars "avatar" helper to "personImage"; added home button to interaction pane (only when sneaky -- needs further investigating on getting it showing up when the interaction pane is invoked); minor css tweaks. --- .../app/helpers/handlebars-helpers.js | 2 +- .../app/templates/comment-stream.handlebars | 2 +- .../app/templates/comment.handlebars | 6 +-- .../templates/post-viewer/author.handlebars | 2 +- .../templates/post-viewer/comment.handlebars | 2 +- .../templates/post-viewer/feedback.handlebars | 14 ++++--- .../post-viewer/interactions.handlebars | 1 - .../post-viewer/new-comment.handlebars | 1 - .../post-viewer/reactions.handlebars | 6 +-- .../app/templates/stream-element.handlebars | 2 +- .../app/views/post-viewer/feedback.js | 2 +- .../app/views/post-viewer/interactions.js | 17 +++++++-- public/stylesheets/sass/new-templates.scss | 37 +++++++++++++++++-- 13 files changed, 69 insertions(+), 25 deletions(-) diff --git a/public/javascripts/app/helpers/handlebars-helpers.js b/public/javascripts/app/helpers/handlebars-helpers.js index ec2ed679a..4b98f757d 100644 --- a/public/javascripts/app/helpers/handlebars-helpers.js +++ b/public/javascripts/app/helpers/handlebars-helpers.js @@ -14,7 +14,7 @@ Handlebars.registerHelper('linkToPerson', function(context, block) { return html }) -Handlebars.registerHelper('avatar', function(person, size, imageClass) { +Handlebars.registerHelper('personImage', function(person, size, imageClass) { size = (typeof(size) != "string" ? "small" : size); imageClass = (typeof(imageClass) != "string" ? size : imageClass); diff --git a/public/javascripts/app/templates/comment-stream.handlebars b/public/javascripts/app/templates/comment-stream.handlebars index d1c327a44..d0d6d313f 100644 --- a/public/javascripts/app/templates/comment-stream.handlebars +++ b/public/javascripts/app/templates/comment-stream.handlebars @@ -15,7 +15,7 @@