mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
activity list: badges for issues, actions and reasons
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
{% set reversed_parents = parents|reverse %}
|
||||
<span class="chill-entity chill-entity__social-action">
|
||||
<span class="{% if not options['no-badge'] %}badge bg-primary{% endif %}">
|
||||
<span class="chill-entity entity-social-action">
|
||||
<span class="{% if not options['no-badge'] %}badge bg-light text-dark{% endif %}">
|
||||
{%- for p in reversed_parents %}
|
||||
<span class="chill-entity__social-action__parent--{{ loop.revindex0 }}">
|
||||
<span class="parent-{{ loop.revindex0 }}">
|
||||
{{ p.title|localize_translatable_string }}{{ options['default.separator'] }}
|
||||
</span>
|
||||
{%- endfor -%}
|
||||
<span class="chill-entity__social-action__child">
|
||||
<span class="child">
|
||||
{{ socialAction.title|localize_translatable_string }}
|
||||
</span>
|
||||
</span>
|
||||
|
Reference in New Issue
Block a user