{#{% extends "admin/common/iframe_wrap.html.twig" %}#} {#{% block stylesheet %} {##} {% endblock %}#} {% block javascript %} {# #} {% endblock %} {% block content %}


{% for subdefgroup, subdeflist in subdefs %}
{% for subdefname , subdef in subdeflist %}

{{ subdefname }}


{{ 'To build by phraseanet' | trans }}
{{ 'Telechargeable' | trans }}
{{ 'subdef.orderable' | trans }}
{{ 'subdef.substituable' | trans }}
{{ 'classe' | trans }}
{{ 'mediatype' | trans }}
{{ 'Presets' | trans }}
Path
{{ 'Write Metas' | trans }}
{% for code, language in app['locales.available'] %} {% endfor %}

Labels

{{ language }}
{% for subdefType in subdef.getAvailableSubdefTypes() %} {{ 'Advanced settings' | trans }}
{% for option in subdefType.getOptions() %} {% set varname = subdefgroup~'_'~subdefname~'_'~subdefType.getType()~'['~ option.getName() ~']' %} {% endfor %}
{{ option.getDisplayName() }} {% set extradata = '' %} {% if option.getType() == constant('\\Alchemy\\Phrasea\\Media\\Subdef\\OptionType\\OptionType::TYPE_TEXT') %} {% endif %} {% if option.getType() == constant('\\Alchemy\\Phrasea\\Media\\Subdef\\OptionType\\OptionType::TYPE_RANGE') %}
{% elseif option.getType() == constant('\\Alchemy\\Phrasea\\Media\\Subdef\\OptionType\\OptionType::TYPE_ENUM') %} {% elseif option.getType() == constant('\\Alchemy\\Phrasea\\Media\\Subdef\\OptionType\\OptionType::TYPE_BOOLEAN') %} {{ 'yes' | trans }} {{ 'no' | trans }} {% elseif option.getType() == constant('\\Alchemy\\Phrasea\\Media\\Subdef\\OptionType\\OptionType::TYPE_MULTI') %} {% for pot_value, selected in option.Value(true) %} {% endfor %} {% elseif option.getType() == constant('\\Alchemy\\Phrasea\\Media\\Subdef\\OptionType\\OptionType::TYPE_ENUM_BUTTON') %}
{% for label, pot_value in option.getAvailableValues() %} {{ label }} {% endfor %}
{% endif %}
{% if option.type == constant('\\Alchemy\\Phrasea\\Media\\Subdef\\OptionType\\OptionType::TYPE_RANGE') %} {% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endblock %}