From 9b43333f3f6108c236698dc1f83771a854df441a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Wed, 2 Jul 2014 23:01:23 +0200 Subject: [PATCH] TRIVIAL: removes unecessary #if bindings --- .../templates/components/basic-topic-list.js.handlebars | 2 +- .../discourse/templates/list/topic_list_item.js.handlebars | 2 +- .../templates/mobile/components/basic-topic-list.js.handlebars | 2 +- .../templates/mobile/list/topic_list_item.js.handlebars | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/components/basic-topic-list.js.handlebars b/app/assets/javascripts/discourse/templates/components/basic-topic-list.js.handlebars index eb27c7eb9d1..e79aac7099b 100644 --- a/app/assets/javascripts/discourse/templates/components/basic-topic-list.js.handlebars +++ b/app/assets/javascripts/discourse/templates/components/basic-topic-list.js.handlebars @@ -54,7 +54,7 @@ {{else}} {{#if topic.like_count}} - {{number topic.like_count}} + {{number topic.like_count}} {{/if}} {{/if}} diff --git a/app/assets/javascripts/discourse/templates/list/topic_list_item.js.handlebars b/app/assets/javascripts/discourse/templates/list/topic_list_item.js.handlebars index 4d18a204eb0..5cbeb908817 100644 --- a/app/assets/javascripts/discourse/templates/list/topic_list_item.js.handlebars +++ b/app/assets/javascripts/discourse/templates/list/topic_list_item.js.handlebars @@ -50,7 +50,7 @@ {{#if like_count}} - {{number like_count numberKey="likes_long"}} + {{number like_count numberKey="likes_long"}} {{/if}} diff --git a/app/assets/javascripts/discourse/templates/mobile/components/basic-topic-list.js.handlebars b/app/assets/javascripts/discourse/templates/mobile/components/basic-topic-list.js.handlebars index 9ddb729ce29..7341ec42806 100644 --- a/app/assets/javascripts/discourse/templates/mobile/components/basic-topic-list.js.handlebars +++ b/app/assets/javascripts/discourse/templates/mobile/components/basic-topic-list.js.handlebars @@ -35,7 +35,7 @@ {{#if like_count}}
- + {{number like_count numberKey="likes_long"}}
diff --git a/app/assets/javascripts/discourse/templates/mobile/list/topic_list_item.js.handlebars b/app/assets/javascripts/discourse/templates/mobile/list/topic_list_item.js.handlebars index 7d8fa3a92b2..a2f53c2992d 100644 --- a/app/assets/javascripts/discourse/templates/mobile/list/topic_list_item.js.handlebars +++ b/app/assets/javascripts/discourse/templates/mobile/list/topic_list_item.js.handlebars @@ -36,7 +36,7 @@
{{number posts_count numberKey="posts_long"}}
{{#if like_count}} -
{{number like_count numberKey="likes_long"}}
+
{{number like_count numberKey="likes_long"}}
{{/if}} {{#if bumped}}