From 224e0bae433c2bb16a882dc519caff3dc1819955 Mon Sep 17 00:00:00 2001 From: LenaertsJ Date: Tue, 15 Apr 2025 13:09:54 +0000 Subject: [PATCH] Add button unique signature zone --- .../unreleased/Feature-20250415-150324.yaml | 6 + .../public/vuejs/DocumentSignature/App.vue | 176 ++++++++++++------ .../translations/messages.fr.yml | 27 +++ 3 files changed, 152 insertions(+), 57 deletions(-) create mode 100644 .changes/unreleased/Feature-20250415-150324.yaml diff --git a/.changes/unreleased/Feature-20250415-150324.yaml b/.changes/unreleased/Feature-20250415-150324.yaml new file mode 100644 index 000000000..1daf7d5e4 --- /dev/null +++ b/.changes/unreleased/Feature-20250415-150324.yaml @@ -0,0 +1,6 @@ +kind: Feature +body: 'Signature: add a button to go directly to the signature zone, even if there is only one' +time: 2025-04-15T15:03:24.436112828+02:00 +custom: + Issue: "" + SchemaChange: No schema change diff --git a/src/Bundle/ChillDocStoreBundle/Resources/public/vuejs/DocumentSignature/App.vue b/src/Bundle/ChillDocStoreBundle/Resources/public/vuejs/DocumentSignature/App.vue index 6392a2b49..3f1cdbe06 100644 --- a/src/Bundle/ChillDocStoreBundle/Resources/public/vuejs/DocumentSignature/App.vue +++ b/src/Bundle/ChillDocStoreBundle/Resources/public/vuejs/DocumentSignature/App.vue @@ -2,26 +2,28 @@ @@ -82,28 +84,39 @@ @change="toggleMultiPage" />
+
+
+ |
@@ -112,9 +125,9 @@ :hidden="!userSignatureZone" @click="undoSign" v-if="signature.zones.length > 1" - :title="$t('choose_another_signature')" + :title="trans(SIGNATURES_CHOOSE_ANOTHER_SIGNATURE)" > - {{ $t("another_zone") }} + {{ trans(SIGNATURES_ANOTHER_ZONE) }}
- | -
| +
+
+ +
+
+ + | +
@@ -237,7 +272,7 @@ @click="undoSign" v-if="signature.zones.length > 1" > - {{ $t("choose_another_signature") }} + {{ trans(SIGNATURES_CHOOSE_ANOTHER_SIGNATURE) }}