mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 21:13:26 +00:00
36 lines
1.4 KiB
Twig
36 lines
1.4 KiB
Twig
{% extends 'prod/Tooltip/Tooltip.html.twig'%}
|
|
|
|
{% set title %} {{ field.get_name() }} ({{ field.get_tag().getTagname() }}) {% endset %}
|
|
{% set width = 600 %}
|
|
{% set maxwidth = null %}
|
|
|
|
{% block content %}
|
|
<div>
|
|
{% if field.get_tag().getMinLength() > 0 %}
|
|
{% set minLength = field.get_tag().getMinLength() %}
|
|
{% trans %}
|
|
Le champ doit contenir {{ minLength }} caracteres minimum.
|
|
{% endtrans %}<br/>
|
|
{% endif %}
|
|
{% if field.get_tag().getMaxLength() > 0 %}
|
|
{% set maxLength = field.get_tag().getMaxLength() %}
|
|
{% trans %}
|
|
Le champ ne peut contenir plus de {{ maxLength }} caracteres.
|
|
{% endtrans %}<br/>
|
|
{% endif %}
|
|
</div>
|
|
<hr/>
|
|
<div>
|
|
<blockquote>
|
|
<small>
|
|
{% trans 'Les indications donnees ci dessous sont a titre informatif.' %}<br/>
|
|
{% trans 'Si vous ne les respectez pas, les documents seront correctement indexes, mais les metadonnees inscrites risquent d\'etre erronnees' %}<br/>
|
|
{% set norm_name = '<span style="font-style:normal;font-weight:bold;">' ~ field.get_tag().getGroupName() ~ '</span>' %}
|
|
{% trans %}
|
|
Ces informations sont directement fournies par la norme de metadonnees de ce champ : {{ norm_name }}
|
|
{% endtrans %}
|
|
</small>
|
|
</blockquote>
|
|
</div>
|
|
{% endblock %}
|