mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
Pretty sure anons can't open the composer
This commit is contained in:
parent
c74e60ec51
commit
043a1db4e1
1 changed files with 12 additions and 14 deletions
|
@ -65,21 +65,19 @@
|
|||
<div class='preview-wrapper'>
|
||||
<div id='wmd-preview' {{bind-attr class="hidePreview:hidden"}}></div>
|
||||
</div>
|
||||
{{#if currentUser}}
|
||||
<div class="composer-bottom-right">
|
||||
<a href="#" {{action togglePreview}} class='toggle-preview'>{{{model.toggleText}}}</a>
|
||||
{{#if view.isUploading}}
|
||||
<div id="file-uploading">
|
||||
{{i18n upload_selector.uploading}} {{view.uploadProgress}}% <a id="cancel-file-upload">{{i18n cancel}}</a>
|
||||
</div>
|
||||
{{else}}
|
||||
{{#if Discourse.Mobile.mobileView}}
|
||||
<a {{action showUploadSelector view}} class='mobile-file-upload'>{{i18n upload}}</a>
|
||||
{{/if}}
|
||||
<div class="composer-bottom-right">
|
||||
<a href="#" {{action togglePreview}} class='toggle-preview'>{{{model.toggleText}}}</a>
|
||||
{{#if view.isUploading}}
|
||||
<div id="file-uploading">
|
||||
{{i18n upload_selector.uploading}} {{view.uploadProgress}}% <a id="cancel-file-upload">{{i18n cancel}}</a>
|
||||
</div>
|
||||
{{else}}
|
||||
{{#if Discourse.Mobile.mobileView}}
|
||||
<a {{action showUploadSelector view}} class='mobile-file-upload'>{{i18n upload}}</a>
|
||||
{{/if}}
|
||||
<div id='draft-status'>{{model.draftStatus}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
<div id='draft-status'>{{model.draftStatus}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{#if currentUser}}
|
||||
|
|
Loading…
Reference in a new issue