mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 21:13:26 +00:00
64 lines
1.7 KiB
Twig
64 lines
1.7 KiB
Twig
{% extends 'prod/Tooltip/Tooltip.html.twig'%}
|
|
|
|
{% set title %}
|
|
{{ field.get_name() }}
|
|
|
|
{% if field.get_type() == 'text' %}
|
|
({% trans 'Type texte' %})
|
|
{% elseif field.get_type() == 'number' %}
|
|
({% trans 'Type nombre' %})
|
|
{% elseif field.get_type() == 'date' %}
|
|
({% trans 'Type date' %})
|
|
{% endif %}
|
|
{% endset %}
|
|
{% set width = 300 %}
|
|
{% set maxwidth = null %}
|
|
|
|
{% block content %}
|
|
<div>
|
|
{% trans 'Source' %} : {{ field.get_tag().getGroupName() }} / {{ field.get_tag().getName() }}
|
|
</div>
|
|
|
|
{% if field.is_indexable() is empty %}
|
|
<div>
|
|
{% trans 'Ce champ n\'est pas indexe' %}
|
|
</div>
|
|
{% endif %}
|
|
{% if field.is_multi() %}
|
|
<div>
|
|
{% trans 'Ce champ est multivalue' %}
|
|
</div>
|
|
{% endif %}
|
|
{% if field.is_readonly() %}
|
|
<div>
|
|
{% trans 'Ce champ est en lecture seule' %}
|
|
</div>
|
|
{% endif %}
|
|
{% if field.get_tbranch() %}
|
|
<div>
|
|
{% trans 'Ce champ est relie a une branche de thesaurus' %}
|
|
</div>
|
|
{% endif %}
|
|
{% if field.get_thumbtitle() %}
|
|
<div>
|
|
{% trans 'Ce champ est utilise en titre a l\'affichage' %}
|
|
</div>
|
|
{% endif %}
|
|
{% if field.is_required() %}
|
|
<div>
|
|
{% trans 'Ce champ est requis' %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if field.get_dces_element() %}
|
|
<hr/>
|
|
<div>
|
|
{% set DublinCoreElementSet = '<a href="http://dublincore.org/documents/dces/" target="_blank">DublinCore Element Set</a>' %}
|
|
{% trans %}
|
|
Ce champ est decrit comme element du {{ DublinCoreElementSet }}
|
|
{% endtrans %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|