Skip to content

Commit c387ec2

Browse files
authored
ORV2-3790 Update email templates to reflect OnRouteBC logo (#1867)
1 parent f041b4b commit c387ec2

14 files changed

+63
-89
lines changed

dops/src/app.service.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,24 @@ export class AppService {
222222
'base64',
223223
),
224224
);
225+
await addToCache(
226+
this.cacheManager,
227+
CacheKey.IMG_WHITE_HEADER_ORBC_LOGO,
228+
this.convertFileToString(
229+
assetsPath + 'images/onRouteBC_Logo_Email_Header.jpg',
230+
true,
231+
'base64',
232+
),
233+
);
234+
await addToCache(
235+
this.cacheManager,
236+
CacheKey.IMG_WHITE_MED_FOOTER_LOGO,
237+
this.convertFileToString(
238+
assetsPath + 'images/onRouteBC_Logo@2x_Email_Header.jpg',
239+
true,
240+
'base64',
241+
),
242+
);
225243

226244
const endDateTime = new Date();
227245
const processingTime = endDateTime.getTime() - startDateTime.getTime();
29.1 KB
Loading
9.96 KB
Loading

dops/src/assets/templates/application-approved.email.hbs

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@
99
<div class="container" style="margin: 0 2em">
1010
<br />
1111
<div>
12-
<img src="{{ whiteHeaderLogo }}" alt="mottBCLogo" />
12+
<img
13+
src="{{ whiteHeaderOrbcLogo }}"
14+
alt="onRouteBCLogo"
15+
style="background-color: #fff; margin: 0px"
16+
/>
1317
</div>
1418

15-
<br />
16-
1719
<hr class="solid" style="border-top: 1px solid #dbdcdc" />
1820
<div class="flex-container" style="margin: 1em 0">
1921
<p
@@ -81,15 +83,6 @@
8183

8284
<hr class="solid" style="border-top: 1px solid #dbdcdc" />
8385
<div class="flex-container" style="margin: 1em 0">
84-
<br />
85-
<div>
86-
<img
87-
src="{{ whiteFooterLogo }}"
88-
alt="onRouteBCLogo"
89-
style="margin: 0px"
90-
/>
91-
</div>
92-
9386
<br />
9487

9588
<p

dops/src/assets/templates/application-rejected.email.hbs

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@
99
<div class="container" style="margin: 0 2em">
1010
<br />
1111
<div>
12-
<img src="{{ whiteHeaderLogo }}" alt="motiBCLogo" />
12+
<img
13+
src="{{ whiteHeaderOrbcLogo }}"
14+
alt="onRouteBCLogo"
15+
style="background-color: #fff; margin: 0px"
16+
/>
1317
</div>
1418

15-
<br />
16-
1719
<hr class="solid" style="border-top: 1px solid #dbdcdc" />
1820
<div class="flex-container" style="margin: 1em 0">
1921
<p
@@ -123,16 +125,6 @@
123125
<hr class="solid" style="border-top: 1px solid #dbdcdc" />
124126
<div class="flex-container" style="margin: 1em 0">
125127
<br />
126-
<div>
127-
<img
128-
src="{{ whiteFooterLogo }}"
129-
alt="onRouteBCLogo"
130-
style="margin: 0px"
131-
/>
132-
</div>
133-
134-
<br />
135-
136128
<p
137129
style="
138130
font-family:

dops/src/assets/templates/issue-permit.email.hbs

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@
99
<div class="container" style="margin: 0 2em">
1010
<br />
1111
<div>
12-
<img src="{{ whiteHeaderLogo }}" alt="motiBCLogo" />
12+
<img
13+
src="{{ whiteHeaderOrbcLogo }}"
14+
alt="onRouteBCLogo"
15+
style="background-color: #fff; margin: 0px"
16+
/>
1317
</div>
1418

15-
<br />
16-
1719
<hr class="solid" style="border-top: 1px solid #dbdcdc" />
1820
<div class="flex-container" style="margin: 1em 0">
1921
<p
@@ -81,15 +83,6 @@
8183

8284
<hr class="solid" style="border-top: 1px solid #dbdcdc" />
8385
<div class="flex-container" style="margin: 1em 0">
84-
<br />
85-
<div>
86-
<img
87-
src="{{ whiteFooterLogo }}"
88-
alt="onRouteBCLogo"
89-
style="margin: 0px"
90-
/>
91-
</div>
92-
9386
<br />
9487

9588
<p

dops/src/assets/templates/payment-receipt.email.hbs

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@
99
<div class="container" style="margin: 0 2em">
1010
<br />
1111
<div>
12-
<img src="{{ whiteHeaderLogo }}" alt="motiBCLogo" />
12+
<img
13+
src="{{ whiteHeaderOrbcLogo }}"
14+
alt="onRouteBCLogo"
15+
style="background-color: #fff; margin: 0px"
16+
/>
1317
</div>
1418

15-
<br />
16-
1719
<hr class="solid" style="border-top: 1px solid #dbdcdc" />
1820
<div class="flex-container" style="margin: 1em 0">
1921
<p
@@ -82,16 +84,6 @@
8284
<hr class="solid" style="border-top: 1px solid #dbdcdc" />
8385
<div class="flex-container" style="margin: 1em 0">
8486
<br />
85-
<div>
86-
<img
87-
src="{{ whiteFooterLogo }}"
88-
alt="onRouteBCLogo"
89-
style="margin: 0px"
90-
/>
91-
</div>
92-
93-
<br />
94-
9587
<p
9688
style="
9789
font-family:

dops/src/assets/templates/profile-registration.email.hbs

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@
1111
<br />
1212
<div>
1313
<img
14-
src="{{ whiteHeaderLogo }}"
15-
alt="motiBCLogo"
16-
style="background-color: #fff; margin: 0"
14+
src="{{ whiteHeaderOrbcLogo }}"
15+
alt="onRouteBCLogo"
16+
style="background-color: #fff; margin: 0px"
1717
/>
1818
</div>
19-
<br />
2019
<hr class="solid" style="border-top: 1px solid #dbdcdc" />
2120
<div class="flex-container" style="margin: 1em 0">
2221
<h2
@@ -428,16 +427,7 @@
428427
</div>
429428
<hr class="solid" style="border-top: 1px solid #dbdcdc" />
430429
<div class="flex-container" style="margin: 1em 0">
431-
<div>
432-
<img
433-
src="{{ whiteFooterLogo }}"
434-
alt="onRouteBCLogo"
435-
style="background-color: #fff; margin: 0px"
436-
/>
437-
</div>
438-
439430
<br />
440-
441431
<p
442432
style="
443433
font-family:

dops/src/assets/templates/suspend-company.email.hbs

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@
1111
<br />
1212
<div>
1313
<img
14-
src="{{ whiteHeaderLogo }}"
15-
alt="motiBCLogo"
16-
style="background-color: #fff; margin: 0"
14+
src="{{ whiteHeaderOrbcLogo }}"
15+
alt="onRouteBCLogo"
16+
style="background-color: #fff; margin: 0px"
1717
/>
1818
</div>
19-
<br />
2019
<hr class="solid" style="border-top: 1px solid #dbdcdc" />
2120
<div class="flex-container" style="margin: 1em 0">
2221
<h2
@@ -102,16 +101,7 @@
102101

103102
<hr class="solid" style="border-top: 1px solid #dbdcdc" />
104103
<div class="flex-container" style="margin: 1em 0">
105-
<div>
106-
<img
107-
src="{{ whiteFooterLogo }}"
108-
alt="onRouteBCLogo"
109-
style="background-color: #fff; margin: 0px"
110-
/>
111-
</div>
112-
113104
<br />
114-
115105
<p
116106
style="
117107
font-family:

dops/src/assets/templates/unsuspend-company.email.hbs

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@
1111
<br />
1212
<div>
1313
<img
14-
src="{{ whiteHeaderLogo }}"
15-
alt="motiBCLogo"
16-
style="background-color: #fff; margin: 0"
14+
src="{{ whiteHeaderOrbcLogo }}"
15+
alt="onRouteBCLogo"
16+
style="background-color: #fff; margin: 0px"
1717
/>
1818
</div>
19-
<br />
2019
<hr class="solid" style="border-top: 1px solid #dbdcdc" />
2120
<div class="flex-container" style="margin: 1em 0">
2221
<h2
@@ -83,16 +82,7 @@
8382

8483
<hr class="solid" style="border-top: 1px solid #dbdcdc" />
8584
<div class="flex-container" style="margin: 1em 0">
86-
<div>
87-
<img
88-
src="{{ whiteFooterLogo }}"
89-
alt="onRouteBCLogo"
90-
style="background-color: #fff; margin: 0px"
91-
/>
92-
</div>
93-
9485
<br />
95-
9686
<p
9787
style="
9888
font-family:

0 commit comments

Comments
 (0)