mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +00:00
Enhance signature display with detailed person information
Updated the signature view template to include person details using the '_insert_vue_onthefly.html.twig' template. This change adds more contextual information about the signer, such as their name and status, improving the user experience.
This commit is contained in:
parent
71d3aa3969
commit
20f2bc6c35
@ -3,7 +3,14 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
{% for s in signatures %}
|
{% for s in signatures %}
|
||||||
<div class="row align-items-center">
|
<div class="row align-items-center">
|
||||||
<div class="col-sm-12 col-md-8"><span>{{ s.signer|chill_entity_render_box }}</span></div>
|
<div class="col-sm-12 col-md-8">
|
||||||
|
{% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with {
|
||||||
|
action: 'show', displayBadge: true,
|
||||||
|
targetEntity: { name: 'person', id: s.signer.id },
|
||||||
|
buttonText: s.signer|chill_entity_render_string,
|
||||||
|
isDead: s.signer.deathDate is not null
|
||||||
|
} %}
|
||||||
|
</div>
|
||||||
<div class="col-sm-12 col-md-4">
|
<div class="col-sm-12 col-md-4">
|
||||||
{% if s.isSigned %}
|
{% if s.isSigned %}
|
||||||
<p class="text-end">{{ 'workflow.signature_zone.has_signed_statement'|trans({ 'datetime' : s.stateDate }) }}</p>
|
<p class="text-end">{{ 'workflow.signature_zone.has_signed_statement'|trans({ 'datetime' : s.stateDate }) }}</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user