Skip to content

Commit

Permalink
Merge pull request ezsystems#1900 from ezsystems/ezp26902-binary_maxf…
Browse files Browse the repository at this point in the history
…ilesize_unit

Fix EZP-26902: Binary files max file size in content type view has wrong unit
  • Loading branch information
bdunogier committed Jan 31, 2017
2 parents 15d6fc1 + 5969d18 commit 866b53b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -294,7 +294,7 @@
<div class="ez-fielddefinition-setting-value">
{% if fielddefinition.validatorConfiguration.FileSizeValidator.maxFileSize %}
{# TODO l10n / unit #}
{{ fielddefinition.validatorConfiguration.FileSizeValidator.maxFileSize }} bytes
{{ fielddefinition.validatorConfiguration.FileSizeValidator.maxFileSize }} MB
{% else %}
<em>No defined maximum size</em>
{% endif %}
Expand Down

0 comments on commit 866b53b

Please sign in to comment.