Commits

Stephen McDonald committed 414b8bb Draft Merge

Merge

Comments (0)

Files changed (1)

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,