From 2c517fef82a79cd32bade8ecd6160524c088b2a1 Mon Sep 17 00:00:00 2001 From: jatin Date: Tue, 12 Nov 2024 11:11:10 +0530 Subject: [PATCH 1/4] feat: add careers page form --- templates/cms/page.tpl | 5 +++++ templates/misc/careers-page-form.tpl | 16 ++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 templates/misc/careers-page-form.tpl diff --git a/templates/cms/page.tpl b/templates/cms/page.tpl index 4839ab7..7dbbced 100644 --- a/templates/cms/page.tpl +++ b/templates/cms/page.tpl @@ -33,6 +33,11 @@ {block name='cms_content'} {$cms.content nofilter} + {block name='careers-page-form'} + {if $page.meta.title == 'Careers' || $page.meta.title == 'careers'} + {include file="../misc/careers-page-form.tpl"} + {/if} + {/block} {/block} {block name='hook_cms_dispute_information'} diff --git a/templates/misc/careers-page-form.tpl b/templates/misc/careers-page-form.tpl new file mode 100644 index 0000000..bef57d9 --- /dev/null +++ b/templates/misc/careers-page-form.tpl @@ -0,0 +1,16 @@ +
+ brooksbingham-company-logo +
+ +
+ + +
+ + + + +
+
From e7d27c82468fe7cf58bcb1bd68157532598a0594 Mon Sep 17 00:00:00 2001 From: jatiny Date: Tue, 12 Nov 2024 05:49:14 +0000 Subject: [PATCH 2/4] fix: voucher error message not being displayed --- templates/checkout/_partials/cart-voucher.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/checkout/_partials/cart-voucher.tpl b/templates/checkout/_partials/cart-voucher.tpl index fc0b5ca..7a0eb10 100644 --- a/templates/checkout/_partials/cart-voucher.tpl +++ b/templates/checkout/_partials/cart-voucher.tpl @@ -58,7 +58,7 @@ - + {/block} From 5e3f5b99f22dbd539317080ee9722d975cc9c7e4 Mon Sep 17 00:00:00 2001 From: jatin Date: Wed, 13 Nov 2024 14:19:20 +0530 Subject: [PATCH 3/4] feat: add mail template for careers --- mails/en/careers.html | 1198 +++++++++++++++++++++++++++++++++++++++++ mails/en/careers.txt | 13 + 2 files changed, 1211 insertions(+) create mode 100644 mails/en/careers.html create mode 100755 mails/en/careers.txt diff --git a/mails/en/careers.html b/mails/en/careers.html new file mode 100644 index 0000000..a429e58 --- /dev/null +++ b/mails/en/careers.html @@ -0,0 +1,1198 @@ + + + + Contact + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ + + + + + +
+
+   +
+
+
+ +
+
+ +
+ + + + + + +
+ + + +
+ + + + + + +
+ +
+ + + + + + +
+ + + + + + +
+ + + +
+
+
+ +
+
+ + + +
+ + + + + + +
+ +
+ + + + + + +
+ + + + + + + + +
+
+ Message from a {first_name} + {last_name} +
+
+
+
+ +
+
+ + + +
+ + + + + + +
+ +
+ + + + + + +
+

+ +
+
+ +
+
+ + + + +
+ + + + + + +
+ +
+ + + + + + +
+ + + + + + +
+
+ Customer Email Address: + {email} +
+
+
+
+ +
+
+ + + + +
+ + + + + + +
+ +
+ + + + + + +
+ + + + + + +
+
+ Customer message: +
+
+
+
+ +
+
+ + + + +
+ + + + + + +
+ +
+ + + + + + +
+ + + + + + +
+
+ {message} +
+
+
+
+ +
+
+ + + +
+
+ + + +
+ + + + + + +
+ +
+ + + + + + + + + +
+ +
+
+ Powered by + PrestaShop +
+
+
+ +
+
+ + +
+ + diff --git a/mails/en/careers.txt b/mails/en/careers.txt new file mode 100755 index 0000000..1c9014b --- /dev/null +++ b/mails/en/careers.txt @@ -0,0 +1,13 @@ +{shop_url} + +Message from {first_name} {last_name} + +Candidate Email Address: {email} + +Candidate message: + +{message} + +[{shop_name}]({shop_url}) + +Powered by [PrestaShop](https://www.prestashop-project.org/) From ad5059c7716bab8f78ff41de84f93060d771c184 Mon Sep 17 00:00:00 2001 From: jatin Date: Wed, 13 Nov 2024 15:11:39 +0530 Subject: [PATCH 4/4] fix: rephrase words --- mails/en/careers.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mails/en/careers.html b/mails/en/careers.html index a429e58..ddfd88a 100644 --- a/mails/en/careers.html +++ b/mails/en/careers.html @@ -525,7 +525,7 @@ " align="left" > - Message from a {first_name} + Message from {first_name} {last_name} @@ -757,7 +757,7 @@ Customer Email Address:Candidate Email Address: - Customer message: + Candidate message: