From 043a1db4e1e943f2e8b9dad690b798dd1a5ec1e0 Mon Sep 17 00:00:00 2001 From: riking Date: Thu, 3 Jul 2014 23:26:52 -0700 Subject: [PATCH] Pretty sure anons can't open the composer --- .../templates/composer.js.handlebars | 26 +++++++++---------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/composer.js.handlebars b/app/assets/javascripts/discourse/templates/composer.js.handlebars index 8280070fd..184d8e916 100644 --- a/app/assets/javascripts/discourse/templates/composer.js.handlebars +++ b/app/assets/javascripts/discourse/templates/composer.js.handlebars @@ -65,21 +65,19 @@
- {{#if currentUser}} -
- {{{model.toggleText}}} - {{#if view.isUploading}} -
- {{i18n upload_selector.uploading}} {{view.uploadProgress}}% {{i18n cancel}} -
- {{else}} - {{#if Discourse.Mobile.mobileView}} - {{i18n upload}} - {{/if}} +
+ {{{model.toggleText}}} + {{#if view.isUploading}} +
+ {{i18n upload_selector.uploading}} {{view.uploadProgress}}% {{i18n cancel}} +
+ {{else}} + {{#if Discourse.Mobile.mobileView}} + {{i18n upload}} {{/if}} -
{{model.draftStatus}}
-
- {{/if}} + {{/if}} +
{{model.draftStatus}}
+
{{#if currentUser}}