From bcd43cbfee6204b60022df4b1691ab675fe81d0c Mon Sep 17 00:00:00 2001 From: Steffen van Bergerem Date: Sun, 2 Jun 2013 13:50:15 +0200 Subject: [PATCH] Don't show hovercards for current user in comments --- Changelog.md | 1 + app/assets/templates/comment_tpl.jst.hbs | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Changelog.md b/Changelog.md index bb8bd8542..148764dd2 100644 --- a/Changelog.md +++ b/Changelog.md @@ -17,6 +17,7 @@ * Fix reopened issue by changing the comment/post submit keyboard sortcut to ctrl+enter from shift+enter [#3897](https://github.com/diaspora/diaspora/issues/3897) * Show medium avatar in hovercard [#4203](https://github.com/diaspora/diaspora/pull/4203) * Fix posting to Twitter [#2758](https://github.com/diaspora/diaspora/issues/2758) +* Don't show hovercards for current user in comments [#3999](https://github.com/diaspora/diaspora/issues/3999) ## Features diff --git a/app/assets/templates/comment_tpl.jst.hbs b/app/assets/templates/comment_tpl.jst.hbs index ad5b82c1a..d1dfdfdbe 100644 --- a/app/assets/templates/comment_tpl.jst.hbs +++ b/app/assets/templates/comment_tpl.jst.hbs @@ -13,9 +13,11 @@ {{/if}} - - {{author.name}} - + {{#with author}} + + {{name}} + + {{/with}}
{{{text}}}