mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Added max file size for uploads.
This commit is contained in:
@@ -26,6 +26,7 @@ return [
|
||||
'update_attachment' => 'Update attachment',
|
||||
'delete_attachment' => 'Delete attachment ":name"',
|
||||
'attachment_deleted' => 'Deleted attachment ":name"',
|
||||
'upload_max_file_size' => 'Maximum file size: :size',
|
||||
|
||||
// tour:
|
||||
'prev' => 'Prev',
|
||||
|
@@ -19,8 +19,7 @@
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% if Session.get('info') is iterable and Session.get('info')|length == 1 %}
|
||||
<strong>Message:</strong>
|
||||
{{ Session.get('info')[0]|raw }}
|
||||
<strong>Message:</strong> {{ Session.get('info')[0]|raw }}
|
||||
{% endif %}
|
||||
|
||||
{% if Session.get('info') is not iterable %}
|
||||
|
@@ -75,7 +75,7 @@
|
||||
{{ ExpandedForm.select('piggy_bank_id',piggies) }}
|
||||
|
||||
<!-- ATTACHMENTS -->
|
||||
{{ ExpandedForm.file('attachments[]', {'multiple': 'multiple'}) }}
|
||||
{{ ExpandedForm.file('attachments[]', {'multiple': 'multiple','helpText': trans('firefly.upload_max_file_size', {'size': uploadSize|filesize}) }) }}
|
||||
|
||||
</div>
|
||||
|
||||
|
@@ -76,7 +76,7 @@
|
||||
{% endif %}
|
||||
|
||||
<!-- ATTACHMENTS -->
|
||||
{{ ExpandedForm.file('attachments[]', {'multiple': 'multiple'}) }}
|
||||
{{ ExpandedForm.file('attachments[]', {'multiple': 'multiple','helpText': trans('firefly.upload_max_file_size', {'size': uploadSize|filesize}) }) }}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user