Merge pull request #2504 from riking/patch-2

Pretty sure anons can't open the composer
This commit is contained in:
Robin Ward 2014-07-04 10:11:03 -04:00
commit abf6ffcaa0
1 changed files with 12 additions and 14 deletions

View File

@ -65,7 +65,6 @@
<div class='preview-wrapper'> <div class='preview-wrapper'>
<div id='wmd-preview' {{bind-attr class="hidePreview:hidden"}}></div> <div id='wmd-preview' {{bind-attr class="hidePreview:hidden"}}></div>
</div> </div>
{{#if currentUser}}
<div class="composer-bottom-right"> <div class="composer-bottom-right">
<a href="#" {{action togglePreview}} class='toggle-preview'>{{{model.toggleText}}}</a> <a href="#" {{action togglePreview}} class='toggle-preview'>{{{model.toggleText}}}</a>
{{#if view.isUploading}} {{#if view.isUploading}}
@ -79,7 +78,6 @@
{{/if}} {{/if}}
<div id='draft-status'>{{model.draftStatus}}</div> <div id='draft-status'>{{model.draftStatus}}</div>
</div> </div>
{{/if}}
</div> </div>
{{#if currentUser}} {{#if currentUser}}