mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
f2a62822a4
@ -26,20 +26,25 @@
|
|||||||
<div class="item-col" style="width: 50%">
|
<div class="item-col" style="width: 50%">
|
||||||
{% if resource.person is not null %}
|
{% if resource.person is not null %}
|
||||||
<div class="denomination h3">
|
<div class="denomination h3">
|
||||||
<span class="name">{{ resource.person }}</span>
|
<span>
|
||||||
<span class="badge rounded-pill bg-person">{{ 'person'|trans|capitalize }}</span>
|
{% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with {
|
||||||
|
action: 'show', displayBadge: true,
|
||||||
|
targetEntity: { name: 'person', id: resource.person.id },
|
||||||
|
buttonText: resource.person|chill_entity_render_string,
|
||||||
|
isDead: resource.person.deathdate is not null
|
||||||
|
} %}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{% elseif resource.thirdparty is not null %}
|
{% elseif resource.thirdparty is not null %}
|
||||||
<div class="denomination h3">
|
<div class="denomination h3">
|
||||||
<span class="name">{{ resource.thirdparty }}</span>
|
<span>
|
||||||
<span class="badge rounded-pill bg-thirdparty">
|
{% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with {
|
||||||
{% if resource.thirdparty.parent is not null %}
|
action: 'show', displayBadge: true,
|
||||||
{{ 'Contact person'|trans|capitalize }}
|
targetEntity: { name: 'thirdparty', id: resource.thirdparty.id },
|
||||||
{% else %}
|
buttonText: resource.thirdParty|chill_entity_render_string,
|
||||||
{{ 'thirdparty'|trans|capitalize }}
|
parent: resource.thirdparty.parent
|
||||||
{% endif %}
|
} %}
|
||||||
<i class="fa fa-fw fa-user-md"></i>
|
</span>
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="denomination h3">
|
<div class="denomination h3">
|
||||||
@ -76,25 +81,6 @@
|
|||||||
class="btn btn-sm btn-delete"
|
class="btn btn-sm btn-delete"
|
||||||
title="{{ 'Delete'|trans }}"></a>
|
title="{{ 'Delete'|trans }}"></a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
|
||||||
{% if resource.person is not null %}
|
|
||||||
<span class="wl-item">
|
|
||||||
{% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with {
|
|
||||||
action: 'show', displayBadge: false,
|
|
||||||
targetEntity: { name: 'person', id: resource.person.id },
|
|
||||||
} %}
|
|
||||||
</span>
|
|
||||||
{% endif %}
|
|
||||||
{% if resource.thirdparty is not null %}
|
|
||||||
<span class="wl-item">
|
|
||||||
{% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with {
|
|
||||||
action: 'show', displayBadge: false,
|
|
||||||
targetEntity: { name: 'thirdparty', id: resource.thirdparty.id },
|
|
||||||
parent: resource.thirdparty.parent
|
|
||||||
} %}
|
|
||||||
</span>
|
|
||||||
{% endif %}
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user