mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-21 17:54:24 +00:00
14 lines
553 B
Twig
14 lines
553 B
Twig
{% set reversed_parents = parents|reverse %}
|
|
<span class="chill-entity chill-entity__social-action">
|
|
<span class="{% if not options['no-badge'] %}badge badge-primary{% endif %}">
|
|
{%- for p in reversed_parents %}
|
|
<span class="chill-entity__social-action__parent--{{ loop.revindex0 }}">
|
|
{{ p.title|localize_translatable_string }}{{ options['default.separator'] }}
|
|
</span>
|
|
{%- endfor -%}
|
|
<span class="chill-entity__social-action__child">
|
|
{{ socialAction.title|localize_translatable_string }}
|
|
</span>
|
|
</span>
|
|
</span>
|