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

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

OEL-1522: Improve theme naming for document group. Theming following ewcms but with bcl classes.

parent a0a6c14c
No related branches found
No related tags found
1 merge request!162OEL-1552: Theme the person content type
......@@ -7,5 +7,7 @@
*/
#}
{% for item in items %}
{{ item.content }}
<div{{ not loop.last ? ' class="mb-3"' }}">
{{ item.content }}
</div>
{% endfor %}
{#
/**
* @file
* Field template of the document group reference entity.
* Field template of the document reference document group 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 %}
<div class="ps-4{{ not loop.last ? ' mb-3' }}">
{{ item.content }}
</div>
{% endfor %}
{#
/**
* @file
* Field template of the document reference document group title entity.
*
* @see ./core/themes/stable/templates/field/field.html.twig
*/
#}
{% for item in items %}
<h3 class="fs-4 mt-3 mb-2">{{ item.content }}</h3>
{% 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