From 4036a572af1246c605799732632114151653ef30 Mon Sep 17 00:00:00 2001 From: Steffen van Bergerem Date: Sun, 11 Sep 2016 20:30:13 +0200 Subject: [PATCH] Remove whitespaces next to like link in stream closes #7088 --- Changelog.md | 1 + app/assets/templates/feedback_tpl.jst.hbs | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Changelog.md b/Changelog.md index ac3fa1a76..2c3321b2a 100644 --- a/Changelog.md +++ b/Changelog.md @@ -17,6 +17,7 @@ * Fixed missing sidebar background in the contacts tab [#7064](https://github.com/diaspora/diaspora/pull/7064) * Fix tags URLs in hovercards [#7075](https://github.com/diaspora/diaspora/pull/7075) * Fix 500 in html requests for post interactions [#7085](https://github.com/diaspora/diaspora/pull/7085) +* Remove whitespaces next to like link in stream [#7088](https://github.com/diaspora/diaspora/pull/7088) ## Features * Deleted comments will be removed when loading more comments [#7045](https://github.com/diaspora/diaspora/pull/7045) diff --git a/app/assets/templates/feedback_tpl.jst.hbs b/app/assets/templates/feedback_tpl.jst.hbs index 724a37638..cf824d367 100644 --- a/app/assets/templates/feedback_tpl.jst.hbs +++ b/app/assets/templates/feedback_tpl.jst.hbs @@ -18,11 +18,11 @@ {{t "stream.like"}} {{else}} - {{#if userLike}} - {{t "stream.unlike"}} - {{else}} - {{t "stream.like"}} - {{/if}} + {{~#if userLike~}} + {{~t "stream.unlike"~}} + {{~else~}} + {{~t "stream.like"~}} + {{~/if~}} {{/if}} ยท