mirror of
https://github.com/wekan/wekan.git
synced 2026-02-10 18:24:21 +01:00
Add some info about allowed filesizes and filetypes for attachments and avatars.
Thanks to Meeques and xet7 ! Fixes #4863
This commit is contained in:
parent
6faae766a8
commit
5b3bd8ff2a
4 changed files with 28 additions and 1 deletions
|
|
@ -554,6 +554,13 @@ template(name="cardDetails")
|
|||
h3.card-details-item-title
|
||||
i.fa.fa-paperclip
|
||||
| {{_ 'attachments'}}
|
||||
if Meteor.settings.public.attachmentsUploadMaxSize
|
||||
| {{_ 'max-upload-filesize'}} {{Meteor.settings.public.attachmentsUploadMaxSize}}
|
||||
br
|
||||
if Meteor.settings.public.attachmentsUploadMimeTypes
|
||||
| {{_ 'allowed-upload-filetypes'}} {{Meteor.settings.public.attachmentsUploadMimeTypes}}
|
||||
br
|
||||
| {{_ 'invalid-file'}}
|
||||
.card-checklist-attachmentGalery.card-attachmentGalery
|
||||
+attachmentsGalery
|
||||
hr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue