From 9544cfd7dc75179d420c5ad2db8a7f3d509c59a3 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Mon, 20 May 2013 14:37:05 -0400 Subject: [PATCH] `target="controller"` is unnecessary. By default it will target the controller. --- .../admin/templates/customize.js.handlebars | 8 ++++---- .../discourse/templates/composer.js.handlebars | 10 +++++----- .../discourse/templates/list/list.js.handlebars | 6 +++--- .../templates/list/topic_list_item.js.handlebars | 2 +- .../discourse/templates/list/topics.js.handlebars | 2 +- .../discourse/templates/topic_extra_info.js.handlebars | 2 +- .../discourse/templates/user/preferences.js.handlebars | 4 ++-- .../templates/user/private_messages.js.handlebars | 4 ++-- 8 files changed, 19 insertions(+), 19 deletions(-) diff --git a/app/assets/javascripts/admin/templates/customize.js.handlebars b/app/assets/javascripts/admin/templates/customize.js.handlebars index 89318960565..44fcd90933d 100644 --- a/app/assets/javascripts/admin/templates/customize.js.handlebars +++ b/app/assets/javascripts/admin/templates/customize.js.handlebars @@ -3,10 +3,10 @@

{{i18n admin.customize.long_title}}

- + @@ -44,9 +44,9 @@
- + {{content.selectedItem.savingStatus}} - {{i18n admin.customize.delete}} + {{i18n admin.customize.delete}}
diff --git a/app/assets/javascripts/discourse/templates/composer.js.handlebars b/app/assets/javascripts/discourse/templates/composer.js.handlebars index 81b40fbf2b9..800fcf194f8 100644 --- a/app/assets/javascripts/discourse/templates/composer.js.handlebars +++ b/app/assets/javascripts/discourse/templates/composer.js.handlebars @@ -36,7 +36,7 @@ {{#unless content.creatingPrivateMessage}} {{view Discourse.ComboboxViewCategory valueAttribute="name" contentBinding="Discourse.site.categories" valueBinding="content.categoryName"}} {{#if content.archetype.hasOptions}} - + {{/if}} {{#if content.showAdminOptions}} @@ -58,7 +58,7 @@
{{#if Discourse.currentUser}} - {{{content.toggleText}}} + {{{content.toggleText}}}
{{#if view.loadingImage}}
@@ -70,8 +70,8 @@ {{#if Discourse.currentUser}}
- - {{i18n cancel}} + + {{i18n cancel}}
{{/if}} @@ -81,7 +81,7 @@
{{#if content.createdPost}} - {{i18n composer.saved}} + {{i18n composer.saved}} {{else}} {{i18n composer.saving}} {{/if}} diff --git a/app/assets/javascripts/discourse/templates/list/list.js.handlebars b/app/assets/javascripts/discourse/templates/list/list.js.handlebars index 7e90248c5db..eeaf6f750d7 100644 --- a/app/assets/javascripts/discourse/templates/list/list.js.handlebars +++ b/app/assets/javascripts/discourse/templates/list/list.js.handlebars @@ -7,15 +7,15 @@ {{#if canCreateTopic}} - + {{/if}} {{#if canEditCategory}} - + {{/if}} {{#if canCreateCategory}} - + {{/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 d90d06d5dcc..3d13b6b56fe 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 @@ -36,7 +36,7 @@ {{#unless canClearPin}}{{i18n read_more}}{{/unless}} {{/if}} {{#if canClearPin}} - {{i18n topic.clear_pin.title}} + {{i18n topic.clear_pin.title}} {{/if}}
{{/if}} diff --git a/app/assets/javascripts/discourse/templates/list/topics.js.handlebars b/app/assets/javascripts/discourse/templates/list/topics.js.handlebars index 08f972ba47e..d5296e2937a 100644 --- a/app/assets/javascripts/discourse/templates/list/topics.js.handlebars +++ b/app/assets/javascripts/discourse/templates/list/topics.js.handlebars @@ -34,7 +34,7 @@
{{countI18n new_topics_inserted countBinding="view.insertedCount"}} - {{i18n show_new_topics}} + {{i18n show_new_topics}}
diff --git a/app/assets/javascripts/discourse/templates/topic_extra_info.js.handlebars b/app/assets/javascripts/discourse/templates/topic_extra_info.js.handlebars index 3880b9421b1..289e93323b2 100644 --- a/app/assets/javascripts/discourse/templates/topic_extra_info.js.handlebars +++ b/app/assets/javascripts/discourse/templates/topic_extra_info.js.handlebars @@ -1,5 +1,5 @@ {{#if view.showFavoriteButton}} - + {{/if}}

diff --git a/app/assets/javascripts/discourse/templates/user/preferences.js.handlebars b/app/assets/javascripts/discourse/templates/user/preferences.js.handlebars index 16e86e361a3..1fc397467e6 100644 --- a/app/assets/javascripts/discourse/templates/user/preferences.js.handlebars +++ b/app/assets/javascripts/discourse/templates/user/preferences.js.handlebars @@ -35,7 +35,7 @@
- {{i18n user.change_password.action}} {{passwordProgress}} + {{i18n user.change_password.action}} {{passwordProgress}}
@@ -106,7 +106,7 @@
- + {{#if saved}}{{i18n saved}}{{/if}}
diff --git a/app/assets/javascripts/discourse/templates/user/private_messages.js.handlebars b/app/assets/javascripts/discourse/templates/user/private_messages.js.handlebars index f16c3c9b6c8..85038a13b88 100644 --- a/app/assets/javascripts/discourse/templates/user/private_messages.js.handlebars +++ b/app/assets/javascripts/discourse/templates/user/private_messages.js.handlebars @@ -1,11 +1,11 @@ -
+