Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit e5928dc3 authored by escuriola's avatar escuriola Committed by drishu
Browse files

OEL-1552: Templates for document reference and document reference group.

parent 020afb35
No related branches found
No related tags found
1 merge request!162OEL-1552: Theme the person content type
{#
/**
* @file
* Field template of the document reference entity.
*
* @see ./core/themes/stable/templates/field/field.html.twig
*/
#}
{% for item in items %}
{{ item.content }}
{% endfor %}
{#
/**
* @file
* Field template of the document group reference entity.
*
* @see ./core/themes/stable/templates/field/field.html.twig
*/
#}
{% for item in items %}
{% if item.content['#media'] is empty %}
<h6 class="mt-4 mb-4">{{ item.content }}</h6>
{% else %}
<div class="ps-4">
{{ item.content }}
</div>
{% endif %}
{% endfor %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment