From 179cc9e8dd38ae04144365c19d8df65c77beeab6 Mon Sep 17 00:00:00 2001 From: Fabian Rodriguez Date: Sun, 1 Dec 2013 17:33:45 -0200 Subject: [PATCH] remove PostViewerAuthor --- .../app/views/post-viewer/author.js | 15 ----------- .../templates/post-viewer/author_tpl.jst.hbs | 25 ------------------- 2 files changed, 40 deletions(-) delete mode 100644 app/assets/javascripts/app/views/post-viewer/author.js delete mode 100644 app/assets/templates/post-viewer/author_tpl.jst.hbs diff --git a/app/assets/javascripts/app/views/post-viewer/author.js b/app/assets/javascripts/app/views/post-viewer/author.js deleted file mode 100644 index af8e0aee2..000000000 --- a/app/assets/javascripts/app/views/post-viewer/author.js +++ /dev/null @@ -1,15 +0,0 @@ -app.views.PostViewerAuthor = app.views.Base.extend({ - - id : "post-author", - className : "media", - - tooltipSelector : ".profile-image-container", - - templateName: "post-viewer/author", - - initialize : function() { - /* add a class so we know how to color the text for the author name */ - this.$el.addClass(this.model.get("frame_name")) - } - -}); \ No newline at end of file diff --git a/app/assets/templates/post-viewer/author_tpl.jst.hbs b/app/assets/templates/post-viewer/author_tpl.jst.hbs deleted file mode 100644 index 3828014cc..000000000 --- a/app/assets/templates/post-viewer/author_tpl.jst.hbs +++ /dev/null @@ -1,25 +0,0 @@ -
- {{#linkToPerson author}} -
- {{/linkToPerson}} -
- -
- {{#linkToPerson author}} - {{name}} - {{/linkToPerson}} - - {{#if root}} - - {{#linkToPerson root.author}} - {{name}} - {{/linkToPerson}} - {{/if}} - -
-
-