mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
actions list: display badges as clickable onthefly modal
This commit is contained in:
parent
d0c5d0423f
commit
1c3c2be176
@ -92,8 +92,11 @@
|
|||||||
%}
|
%}
|
||||||
<div class="item-row details">
|
<div class="item-row details">
|
||||||
<div class="item-col">
|
<div class="item-col">
|
||||||
|
{% include 'ChillActivityBundle:Activity:concernedGroups.html.twig' with {
|
||||||
{% include 'ChillActivityBundle:Activity:concernedGroups.html.twig' with {'context': accompanyingCourse, 'with_display': 'row', 'entity': calendar } %}
|
'context': accompanyingCourse,
|
||||||
|
'with_display': 'row',
|
||||||
|
'entity': calendar
|
||||||
|
} %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if calendar.comment.comment is not empty %}
|
{% if calendar.comment.comment is not empty %}
|
||||||
@ -123,4 +126,4 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -65,11 +65,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="wl-col list">
|
<div class="wl-col list">
|
||||||
{% for p in w.persons %}
|
{% for p in w.persons %}
|
||||||
<span class="wl-item badge-person">
|
<span class="wl-item">
|
||||||
{{ p|chill_entity_render_box({
|
{% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with {
|
||||||
'render': 'raw',
|
action: 'show', displayBadge: true,
|
||||||
'addAltNames': false
|
targetEntity: { name: 'person', id: p.id },
|
||||||
}) }}
|
buttonText: p|chill_entity_render_string
|
||||||
|
} %}
|
||||||
</span>
|
</span>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
@ -82,11 +83,12 @@
|
|||||||
<h3>{{ 'Thirdparty handling'|trans }}</h3>
|
<h3>{{ 'Thirdparty handling'|trans }}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="wl-col list">
|
<div class="wl-col list">
|
||||||
<span class="wl-item badge-thirdparty">
|
<span class="wl-item">
|
||||||
{{ w.handlingThierParty|chill_entity_render_box({
|
{% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with {
|
||||||
'render': 'raw',
|
action: 'show', displayBadge: true,
|
||||||
'addAltNames': false
|
targetEntity: { name: 'thirdparty', id: w.handlingThierParty.id },
|
||||||
}) }}
|
buttonText: w.handlingThierParty|chill_entity_render_string
|
||||||
|
} %}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user