From 57dbebb6d0c94af41fe0f7b5376c29385a60e8e5 Mon Sep 17 00:00:00 2001
From: Jean-Luc Beer
Date: Wed, 3 Jun 2026 13:46:26 +0000
Subject: Widerruf rechtskonforme Anpassungen
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8526 0d5edaf7-2b12-4e95-93f4-047927463d4b
---
views/mods/mod_revocation/mails/mail_customer_html.phtml | 3 ++-
views/mods/mod_revocation/mails/mail_customer_text.phtml | 1 +
views/mods/mod_revocation/wp_footer.phtml | 8 ++++----
.../wpsg_mod_kundenverwaltung_order_after_products.phtml | 4 ++--
.../mod_revocation/wpsg_producttemplate_afterButton.phtml | 5 +++--
views/mods/mod_revocation/wpsg_revocation.css | 14 +++++++++++---
6 files changed, 23 insertions(+), 12 deletions(-)
diff --git a/views/mods/mod_revocation/mails/mail_customer_html.phtml b/views/mods/mod_revocation/mails/mail_customer_html.phtml
index f946efa..9b84c5a 100644
--- a/views/mods/mod_revocation/mails/mail_customer_html.phtml
+++ b/views/mods/mod_revocation/mails/mail_customer_html.phtml
@@ -66,7 +66,8 @@
-
+
+
diff --git a/views/mods/mod_revocation/mails/mail_customer_text.phtml b/views/mods/mod_revocation/mails/mail_customer_text.phtml
index 0608fc5..fb65b63 100644
--- a/views/mods/mod_revocation/mails/mail_customer_text.phtml
+++ b/views/mods/mod_revocation/mails/mail_customer_text.phtml
@@ -47,6 +47,7 @@
+
diff --git a/views/mods/mod_revocation/wp_footer.phtml b/views/mods/mod_revocation/wp_footer.phtml
index f423821..c51c586 100644
--- a/views/mods/mod_revocation/wp_footer.phtml
+++ b/views/mods/mod_revocation/wp_footer.phtml
@@ -15,8 +15,8 @@
get_option('wpsg_mod_revocation_view_flyout') === '1') { ?>
@@ -36,7 +36,7 @@

@@ -119,7 +119,7 @@
} else {
- alert('');
+ alert('');
close_dialog(event);
document.querySelectorAll('.wpsg_revocation_order_product_checkbox:checked').forEach(el => {
diff --git a/views/mods/mod_revocation/wpsg_mod_kundenverwaltung_order_after_products.phtml b/views/mods/mod_revocation/wpsg_mod_kundenverwaltung_order_after_products.phtml
index 6878463..c9c0cb1 100644
--- a/views/mods/mod_revocation/wpsg_mod_kundenverwaltung_order_after_products.phtml
+++ b/views/mods/mod_revocation/wpsg_mod_kundenverwaltung_order_after_products.phtml
@@ -37,8 +37,8 @@
data-product_id="getProduct()->getId(); ?>"
data-amount=""
/>
-
-
+
+
diff --git a/views/mods/mod_revocation/wpsg_producttemplate_afterButton.phtml b/views/mods/mod_revocation/wpsg_producttemplate_afterButton.phtml
index c644267..f09d3be 100644
--- a/views/mods/mod_revocation/wpsg_producttemplate_afterButton.phtml
+++ b/views/mods/mod_revocation/wpsg_producttemplate_afterButton.phtml
@@ -19,7 +19,8 @@
get_option('wpsg_mod_revocation_view_product') === '1') { ?>
-
\ No newline at end of file
+
diff --git a/views/mods/mod_revocation/wpsg_revocation.css b/views/mods/mod_revocation/wpsg_revocation.css
index 9ee5d0f..0cf6e01 100644
--- a/views/mods/mod_revocation/wpsg_revocation.css
+++ b/views/mods/mod_revocation/wpsg_revocation.css
@@ -26,9 +26,17 @@
}
.wpsg_revocation_product_button {
- flex-shrink:0; padding:0.25rem; width:35px; height:35px;
- border:1px solid black; display:flex; cursor:pointer;
- svg { width:auto; }
+ flex-shrink:0; display:inline-flex; align-items:center; gap:0.5rem;
+ width:100%; min-height:35px; padding:0.25rem 0.5rem;
+ border:1px solid black; cursor:pointer;
+}
+
+.wpsg_revocation_product_button > svg {
+ flex:0 0 24px; width:24px; height:24px; fill:currentColor;
+}
+
+.wpsg_revocation_product_button_text {
+ margin: 0;
}
#wpsg_revocation_form { display:flex; flex-direction:column; gap:0.5rem; width:100%;
--
cgit v1.2.3