diff options
Diffstat (limited to 'views/mods/mod_revocation')
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 @@ <?php echo date('d.m.Y H:i:s'); ?> </p> -<p><?php echo __('Wir werden Ihren Widerruf nun schnellstmöglich bearbeiten und uns bei Fragen mit Ihnen in Verbindung setzen.', 'wpsgRevocation'); ?></p> +<!--<p>--><?php //echo __('Wir werden Ihren Widerruf nun schnellstmöglich bearbeiten und uns bei Fragen mit Ihnen in Verbindung setzen.', 'wpsgRevocation'); ?><!--</p>--> +<p><?php echo __('Bitte beachten Sie, dass die Prüfung der Wirksamkeit und Reichweite Ihrer Widerrufserklärung noch aussteht. Wir werden Ihre Mitteilung nun bearbeiten und uns bei Rückfragen mit Ihnen in Verbindung setzen.', 'wpsgRevocation'); ?></p> <p> <?php echo __('Mit freundlichen Grüßen', 'wpsgRevocation'); ?><br> 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 @@ <?php echo mb_str_pad(__('Widerrufdatum', 'wpsgRevocation').':', 20); ?> <?php echo date('d.m.Y H:i:s'); ?> <?php echo __('Wir werden Ihren Widerruf nun schnellstmöglich bearbeiten und uns bei Fragen mit Ihnen in Verbindung setzen.', 'wpsgRevocation'); ?> +<?php echo __('Bitte beachten Sie, dass die Prüfung der Wirksamkeit und Reichweite Ihrer Widerrufserklärung noch aussteht. Wir werden Ihre Mitteilung nun bearbeiten und uns bei Rückfragen mit Ihnen in Verbindung setzen.', 'wpsgRevocation'); ?> <?php echo __('Mit freundlichen Grüßen', 'wpsgRevocation'); ?> 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 @@ <?php if (\wpsg_ShopController::getShop()->get_option('wpsg_mod_revocation_view_flyout') === '1') { ?> <div id="wpsg_revocation_button"> - <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>Widerruf</title><path d="M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3" /></svg> - <span><?php echo __('Widerrufsformular', 'wpsgRevocation'); ?></span> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>Vertrag widerrufen</title><path d="M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3" /></svg> + <span id="wpsg_revocation_button_text"><?php echo __('Vertrag widerrufen', 'wpsgRevocation'); ?></span> </div> <?php } else { ?> @@ -36,7 +36,7 @@ </div> <div class="content"></div> <div class="footer"> - <button class="button button-primary wpsg_revocation_button_submit"><?php echo __('Abschicken', 'wpsgRevocation'); ?></button> + <button class="button button-primary wpsg_revocation_button_submit"><?php echo __('Widerruf bestätigen', 'wpsgRevocation'); ?></button> </div> <div class="loading"> <img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsgRevocation'); ?>" /> @@ -119,7 +119,7 @@ } else { - alert('<?php echo __('Ihr Widerruf ist bei uns eingegangen und wird bearbeitet.', 'wpsgRevocation'); ?>'); + alert('<?php echo __('Ihr Widerruf ist bei uns eingegangen und wird nun bearbeitet.', 'wpsgRevocation'); ?>'); 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="<?php echo $oOrderProduct->getProduct()->getId(); ?>" data-amount="<?php echo $amount; ?>" /> - <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>Widerruf</title><path d="M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3" /></svg> - <span><?php echo __('Produkt widerrufen', 'wpsgRevocation'); ?></span> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>Vertrag widerrufen</title><path d="M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3" /></svg> + <span><?php echo __('Vertrag widerrufen', 'wpsgRevocation'); ?></span> </div> <?php } else { ?> 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 @@ <?php if (\wpsg_ShopController::getShop()->get_option('wpsg_mod_revocation_view_product') === '1') { ?> <div class="wpsg_revocation_product_button" data-product_anr="<?php echo \wpsg_ShopController::getShop()->view['data']['anr']; ?>"> - <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>Widerruf</title><path d="M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3" /></svg> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true"><title>Vertrag widerrufen</title><path d="M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3" /></svg> + <p class="wpsg_revocation_product_button_text">Vertrag widerrufen</p> </div> -<?php } ?>
\ No newline at end of file +<?php } ?> 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%; |
