From f2c5663b0521cb9077211e57ee3d0a1cc3023b02 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Thu, 4 Jul 2024 09:23:58 +0200 Subject: [PATCH] Adjust and add necessary twig templates for signature zone --- .../views/Workflow/_signature.html.twig | 20 +++++++++++++++++++ .../Resources/views/Workflow/index.html.twig | 1 + .../Workflow/person_signature_form.html.twig | 0 .../translations/messages.fr.yml | 4 ++++ 4 files changed, 25 insertions(+) create mode 100644 src/Bundle/ChillMainBundle/Resources/views/Workflow/_signature.html.twig create mode 100644 src/Bundle/ChillMainBundle/Resources/views/Workflow/person_signature_form.html.twig diff --git a/src/Bundle/ChillMainBundle/Resources/views/Workflow/_signature.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Workflow/_signature.html.twig new file mode 100644 index 000000000..aec128547 --- /dev/null +++ b/src/Bundle/ChillMainBundle/Resources/views/Workflow/_signature.html.twig @@ -0,0 +1,20 @@ +

{{ 'workflow.signature_zone.title'|trans }}

+ +
+
+
+
+

name placeholder

+

name placeholder

+
+ +
+
+
+ + diff --git a/src/Bundle/ChillMainBundle/Resources/views/Workflow/index.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Workflow/index.html.twig index 782eae136..57d14346c 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Workflow/index.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Workflow/index.html.twig @@ -57,6 +57,7 @@
{% include '@ChillMain/Workflow/_follow.html.twig' %}
+
{% include '@ChillMain/Workflow/_signature.html.twig' %}
{% include '@ChillMain/Workflow/_decision.html.twig' %}
{#
{% include '@ChillMain/Workflow/_comment.html.twig' %}
#}
{% include '@ChillMain/Workflow/_history.html.twig' %}
diff --git a/src/Bundle/ChillMainBundle/Resources/views/Workflow/person_signature_form.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Workflow/person_signature_form.html.twig new file mode 100644 index 000000000..e69de29bb diff --git a/src/Bundle/ChillMainBundle/translations/messages.fr.yml b/src/Bundle/ChillMainBundle/translations/messages.fr.yml index 421cac473..b39cf4bff 100644 --- a/src/Bundle/ChillMainBundle/translations/messages.fr.yml +++ b/src/Bundle/ChillMainBundle/translations/messages.fr.yml @@ -528,6 +528,10 @@ workflow: This link grant any user to apply a transition: Le lien d'accès suivant permet d'appliquer une transition The workflow may be accssed through this link: Une transition peut être appliquée sur ce workflow grâce au lien d'accès suivant + signature_zone: + title: Appliquer les signatures éléctroniques + button_sign: Signer + Subscribe final: Recevoir une notification à l'étape finale Subscribe all steps: Recevoir une notification à chaque étape