FIX: hides upload link on mobile

This commit is contained in:
Joffrey JAFFEUX
2018-01-28 09:48:41 +01:00
committed by GitHub
parent 55f47491a4
commit 4c19088084
3 changed files with 12 additions and 4 deletions

View File

@@ -85,6 +85,7 @@
popupMenuOptions=popupMenuOptions
draftStatus=model.draftStatus
isUploading=isUploading
allowUpload=allowUpload
isCancellable=isCancellable
uploadProgress=uploadProgress
groupsMentioned="groupsMentioned"
@@ -131,7 +132,9 @@
<div class="composer-bottom-right">
{{#if site.mobileView}}
<a class="mobile-file-upload {{if isUploading 'hidden'}}">{{i18n 'upload'}}</a>
{{#if allowUpload}}
<a class="mobile-file-upload {{if isUploading 'hidden'}}">{{i18n 'upload'}}</a>
{{/if}}
{{#if showPreview}}
{{d-button action='togglePreview' class='hide-preview' label='composer.hide_preview'}}