{% extends 'layout/simple.html' %} {% block body %} {% if fdoc %}

{{ _('Uploaded file info') }}:

{{ _('ID') }}: {{ fdoc['_id'] }}

{{ _('Userfile doc_id') }}: {{ ufid }}

{{ _('MD5') }}: {{ fdoc['md5'] }}

{{ _('URL') }}: {{ model.file.url(fdoc) }}

{% endif %}

{{ _('New file') }}:

{{ _('Note: file size should be less than or equal to {0}, and file type should be in {1}. Empty files are not allowed.').format(size(FILE_MAX_LENGTH), ALLOWED_MIMETYPE_PREFIX) }}

{{ _('Usage: {0}, Quota: {1}').format(size(usage), size(quota)) }}

{% endblock %}