{# Template blocks used to render the settings of each field definition #} {# Block naming convention is _settings> #} {# The following variables are available in each block: # - \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition fielddefinition the field definition # - array settings settings of the field definition #} {% block ezstring_settings %} {% endblock %} {% block ezxmltext_settings %} {% endblock %} {% block eztext_settings %} {% endblock %} {% block ezcountry_settings %} {% endblock %} {% block ezboolean_settings %} {% endblock %} {% block ezdatetime_settings %} {% endblock %} {% block ezdate_settings %} {% endblock %} {% block eztime_settings %} {% endblock %} {% block ezinteger_settings %} {% endblock %} {% block ezfloat_settings %} {% endblock %} {% block ezselection_settings %} {% endblock %} {% block ezbinaryfile_settings %} {% endblock %} {% block ezmedia_settings %} {% set type = settings.mediaType %} {% endblock %} {% block ezimage_settings %} {% endblock %} {% block ezobjectrelation_settings %} {% endblock %} {% block ezobjectrelationlist_settings %} {% endblock %} {% block ezpage_settings %} {% endblock %} {% block ezauthor_settings %}{% endblock %} {% block ezurl_settings %}{% endblock %} {% block ezisbn_settings %} {% endblock %} {% block ezkeyword_settings %}{% endblock %} {% block ezuser_settings %}{% endblock %} {% block ezemail_settings %}{% endblock %} {% block ezgmaplocation_settings %}{% endblock %} {% block ezsrrating_settings %}{% endblock %} {% block settings_maxfilesize %}
  • Maximum file size: {% if fielddefinition.validatorConfiguration.FileSizeValidator.maxFileSize %} {# TODO l10n / unit #} {{ fielddefinition.validatorConfiguration.FileSizeValidator.maxFileSize }} bytes {% else %} No defined maximum size {% endif %}
  • {% endblock %} {% block settings_preferredrows %}
  • Preferred number of rows: {% if rows %} {{ rows }} rows {% else %} No preferred number of rows {% endif %}
  • {% endblock %} {% block settings_selectionroot %}
  • Selection root: {% if rootLocationId %} {# TODO: use a dedicated viewType #} {{ render( controller( "ez_content:viewLocation", {'locationId': rootLocationId, 'viewType': 'line'} ), {'strategy': 'esi'} ) }} {% else %} No defined root {% endif %}
  • {% endblock %} {% block settings_defaultvalue %}
  • Default value: {% if defaultValue %} {{ defaultValue }} {% else %} No default value {% endif %}
  • {% endblock %} {% block settings_minimumvalue %}
  • Minimum value: {% if minValue %} {{ minValue }} {% else %} No defined minimum value {% endif %}
  • {% endblock %} {% block settings_maximumvalue %}
  • Maximum value: {% if maxValue %} {{ maxValue }} {% else %} No defined maximum value {% endif %}
  • {% endblock %} {% block settings_allowmultiple %}
  • Allow multiple choices: {{ isMultiple ? 'Yes' : 'No' }}
  • {% endblock %} {% block settings_allowisbn13 %}
  • Selected ISBN format: {{ isISBN13 ? 'ISBN-13' : 'ISBN-10' }}
  • {% endblock %}