Commits

poptosic  committed 65ff15e

Unlocalized MAX_UPLOAD_SIZE setting

  • Participants
  • Parent commits f9f9a26

Comments (0)

Files changed (1)

File filebrowser_safe/templates/filebrowser/upload.html

 {% extends "admin/base_site.html" %}
 
 <!-- LOADING -->
-{% load i18n future static fb_tags mezzanine_tags %}
+{% load i18n l10n future static fb_tags mezzanine_tags %}
 
 <!-- STYLESHEETS -->
 {% block stylesheets %}
             'multi'             : true,
             'fileDesc'          : '{% for extension in settings_var.EXTENSIONS.items %}{% ifnotequal extension.0 'Folder' %}{% for item in extension.1 %}*{{ item|safe }};{% endfor %}{% endifnotequal %}{% endfor %}',
             'fileExt'           : '{% for extension in settings_var.EXTENSIONS.items %}{% ifnotequal extension.0 'Folder' %}{% for item in extension.1 %}*{{ item|safe }};{% endfor %}{% endifnotequal %}{% endfor %}',
-            'sizeLimit'         : {{ settings_var.MAX_UPLOAD_SIZE }},
+            'sizeLimit'         : {{ settings_var.MAX_UPLOAD_SIZE|unlocalize }},
             'scriptAccess'      : 'always',
             'queueSizeLimit'    : 50,
             'simUploadLimit'    : 1,