Skip to content

Commit

Permalink
Merge pull request #106 from Pearson-Advance/vue/PADV-741
Browse files Browse the repository at this point in the history
fix: Update broken image URL in email templates and remove non-existent decorative background images.
  • Loading branch information
Serafin-dev authored Nov 21, 2023
2 parents c2428f8 + d911c67 commit 4187ab8
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@
padding: 20px;
">

<img src="https://mylearningx.pearson.com/static/pearson-pols-theme/images/PearsonLogo_Primary_Blk_RGB.png" style="width: 150px; padding: 5px; margin: auto;" />
<img src="https://partner-courses.pearson.com/static/pearson-theme/images/logo.png" style="width: 150px; padding: 5px; margin: auto;" />

<div style="width: 90%;
background-color: #D4EAE4;
text-align: left;
padding: 2% 5%;
background-image: url('https://mylearningx.pearson.com/static/pearson-pols-theme/images/laptop_transparent-bg.png');
background-color: #D4EAE4;
background-size: 50%;
background-position: right bottom;
background-repeat: no-repeat;">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
padding: 20px;
">

<img src="https://mylearningx.pearson.com/static/pearson-pols-theme/images/PearsonLogo_Primary_Blk_RGB.png" style="width: 150px; padding: 5px; margin: auto;" />
<img src="https://partner-courses.pearson.com/static/pearson-theme/images/logo.png" style="width: 150px; padding: 5px; margin: auto;" />

<div style="width: 90%;
background-color: #D4EAE4;
text-align: left;
padding: 2% 5%;
background-image: url('https://mylearningx.pearson.com/static/pearson-pols-theme/images/laptop_transparent-bg.png');
background-color: #D4EAE4;
background-size: 50%;
background-position: right bottom;
background-repeat: no-repeat;">
Expand Down
5 changes: 2 additions & 3 deletions common/templates/student/edx_ace/emailchange/email/body.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
padding: 20px;
">

<img src="https://mylearningx.pearson.com/static/pearson-pols-theme/images/PearsonLogo_Primary_Blk_RGB.png" style="width: 150px; padding: 5px; margin: auto;" />
<img src="https://partner-courses.pearson.com/static/pearson-theme/images/logo.png" style="width: 150px; padding: 5px; margin: auto;" />

<div style="width: 90%;
background-color: #D4EAE4;
text-align: left;
padding: 2% 5%;
background-image: url('https://mylearningx.pearson.com/static/pearson-pols-theme/images/laptop_transparent-bg.png');
background-color: #D4EAE4;
background-size: 50%;
background-position: right bottom;
background-repeat: no-repeat;">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
padding: 20px;
">

<img src="https://mylearningx.pearson.com/static/pearson-pols-theme/images/PearsonLogo_Primary_Blk_RGB.png" style="width: 150px; padding: 5px; margin: auto;" />
<img src="https://partner-courses.pearson.com/static/pearson-theme/images/logo.png" style="width: 150px; padding: 5px; margin: auto;" />

<div style="width: 90%;
background-color: #D4EAE4;
text-align: left;
padding: 2% 5%;
background-image: url('https://mylearningx.pearson.com/static/pearson-pols-theme/images/laptop_transparent-bg.png');
background-color: #D4EAE4;
background-size: 50%;
background-position: right bottom;
background-repeat: no-repeat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
padding: 20px;
">

<img src="https://mylearningx.pearson.com/static/pearson-pols-theme/images/PearsonLogo_Primary_Blk_RGB.png" style="width: 150px; padding: 5px; margin: auto;" />
<img src="https://partner-courses.pearson.com/static/pearson-theme/images/logo.png" style="width: 150px; padding: 5px; margin: auto;" />

<div style="width: 90%;
background-color: #D4EAE4;
text-align: left;
padding: 2% 5%;
background-image: url('https://mylearningx.pearson.com/static/pearson-pols-theme/images/laptop_transparent-bg.png');
background-color: #D4EAE4;
background-size: 50%;
background-position: right bottom;
background-repeat: no-repeat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
padding: 20px;
">

<img src="https://mylearningx.pearson.com/static/pearson-pols-theme/images/PearsonLogo_Primary_Blk_RGB.png" style="width: 150px; padding: 5px; margin: auto;" />
<img src="https://partner-courses.pearson.com/static/pearson-theme/images/logo.png" style="width: 150px; padding: 5px; margin: auto;" />

<div style="width: 90%;
background-color: #D4EAE4;
text-align: left;
padding: 2% 5%;
background-image: url('https://mylearningx.pearson.com/static/pearson-pols-theme/images/laptop_transparent-bg.png');
background-color: #D4EAE4;
background-size: 50%;
background-position: right bottom;
background-repeat: no-repeat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
padding: 20px;
">

<img src="https://mylearningx.pearson.com/static/pearson-pols-theme/images/PearsonLogo_Primary_Blk_RGB.png" style="width: 150px; padding: 5px; margin: auto;" />
<img src="https://partner-courses.pearson.com/static/pearson-theme/images/logo.png" style="width: 150px; padding: 5px; margin: auto;" />

<div style="width: 90%;
background-color: #D4EAE4;
text-align: left;
padding: 2% 5%;
background-image: url('https://mylearningx.pearson.com/static/pearson-pols-theme/images/laptop_transparent-bg.png');
background-color: #D4EAE4;
background-size: 50%;
background-position: right bottom;
background-repeat: no-repeat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@
text-align: center;
padding: 20px;
">

<img src="https://mylearningx.pearson.com/static/pearson-pols-theme/images/PearsonLogo_Primary_Blk_RGB.png" style="width: 150px; padding: 5px; margin: auto;" />
<img src="https://partner-courses.pearson.com/static/pearson-theme/images/logo.png" style="width: 150px; padding: 5px; margin: auto;" />

<div style="width: 90%;
background-color: #D4EAE4;
text-align: left;
padding: 2% 5%;
background-image: url('https://mylearningx.pearson.com/static/pearson-pols-theme/images/laptop_transparent-bg.png');
background-color: #D4EAE4;
background-size: 50%;
background-position: right bottom;
background-repeat: no-repeat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
padding: 20px;
">

<img src="https://mylearningx.pearson.com/static/pearson-pols-theme/images/PearsonLogo_Primary_Blk_RGB.png" style="width: 150px; padding: 5px; margin: auto;" />
<img src="https://partner-courses.pearson.com/static/pearson-theme/images/logo.png" style="width: 150px; padding: 5px; margin: auto;" />

<div style="width: 90%;
background-color: #D4EAE4;
text-align: left;
padding: 2% 5%;
background-image: url('https://mylearningx.pearson.com/static/pearson-pols-theme/images/laptop_transparent-bg.png');
background-color: #D4EAE4;
background-size: 50%;
background-position: right bottom;
background-repeat: no-repeat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<tr>
<td width="70">
<a href="{% with_link_tracking homepage_url %}"><img
src="https://mylearningx.pearson.com/static/pearson-pols-theme/images/logo.png" width="40"
src="https://partner-courses.pearson.com/static/pearson-theme/images/logo.png" width="40"
height="40" alt="{% filter force_escape %}{% blocktrans %}Go to {{ platform_name }} Home Page{% endblocktrans %}{% endfilter %}"/></a>
</td>
<td align="right" style="text-align: {{ LANGUAGE_BIDI|yesno:"left,right" }};">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@
padding: 20px;
">

<img src="https://mylearningx.pearson.com/static/pearson-pols-theme/images/PearsonLogo_Primary_Blk_RGB.png" style="width: 150px; padding: 5px; margin: auto;" />
<img src="https://partner-courses.pearson.com/static/pearson-theme/images/logo.png" style="width: 150px; padding: 5px; margin: auto;" />

<div style="width: 90%;
background-color: #D4EAE4;
text-align: left;
padding: 2% 5%;
background-image: url('https://mylearningx.pearson.com/static/pearson-pols-theme/images/laptop_transparent-bg.png');
background-color: #D4EAE4;
background-size: 50%;
background-position: right bottom;
background-repeat: no-repeat;
Expand Down

0 comments on commit 4187ab8

Please sign in to comment.