1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-21 13:09:41 +01:00

fileboard: allowed ext op, add this to allowed filetypes

This commit is contained in:
czaks 2015-04-23 05:08:55 +02:00
parent 68109155b3
commit e4ed7434f4

View File

@ -242,7 +242,12 @@
<td colspan="2">
<p class="unimportant board-settings">
{% if not config.disable_images %}
{% trans %}Allowed file types:{% endtrans %} {{ config.allowed_ext|join(', ') }}{% if config.allowed_ext_files %}, {{ config.allowed_ext_files|join(', ') }}{% endif %}<br />
{% trans %}Allowed file types:{% endtrans %}
{% if config.allowed_ext_op and not id %}
{{ config.allowed_ext_op|join(', ') }}
{% else %}
{{ config.allowed_ext|join(', ') }}{% if config.allowed_ext_files %}, {{ config.allowed_ext_files|join(', ') }}{% endif %}
{% endif %}<br />
{% trans %}Max filesize is{% endtrans %} {{ config.max_filesize|filesize }}.<br />
{% trans %}Max image dimensions are{% endtrans %} {{ config.max_height }} x {{ config.max_width }}.<br />
{% set max_images = config.max_images %} {# workaround for "The text to be translated with "trans" can only contain references to simple variables" #}