Skip to content

Commit

Permalink
Rename MIT Open to MIT Learn for subscription emails (#1390)
Browse files Browse the repository at this point in the history
* capitalize res type

* removing extra unsub button

* fixing address

* fixing logo

* updating styles

* adding arrow
  • Loading branch information
shanbady authored Aug 9, 2024
1 parent 068e489 commit 89205d7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 15 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
22 changes: 10 additions & 12 deletions main/templates/email/email_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,12 @@
{% block logo %}
<h1 style="text-align: center">
<img
src="{{STATIC_URL}}/static/images/mit-logo-transparent5.jpg"
src="{{APP_BASE_URL}}{{STATIC_URL}}/images/mit-logo-learn.jpg"
width="113"
height="60"
height="32"
alt="MIT-Open"
style="
height: 60px;
height: 32px;
width: 113px;
background: #ffffff;
font-family: sans-serif;
Expand All @@ -286,6 +286,11 @@ <h1 style="text-align: center">
{% endblock %}
</td>
</tr>
<tr>
<td>
<p style="border-top: 1px solid #f3f4f8"></p>
</td>
</tr>
<!-- Email Header : END -->

{% block content %}{% endblock %}
Expand Down Expand Up @@ -326,12 +331,6 @@ <h1 style="text-align: center">
{% block footer %}

If you don't want to receive these emails in the future, you can
<a
href="{{APP_BASE_URL}}/dashboard/settings"
style="text-decoration: underline"
>edit your settings</a
>
or
<a
href="{{APP_BASE_URL}}/dashboard/settings"
style="text-decoration: underline"
Expand All @@ -340,9 +339,8 @@ <h1 style="text-align: center">

{% endblock %}
{% block footer-address %}
<b>MIT Open Learning</b>&nbsp;&bull;&nbsp;600 Technology Square,
NE49-2000&nbsp;&bull;&nbsp;Cambridge, MA
02139&nbsp;&bull;&nbsp;USA
<b>MIT Learn</b>&nbsp;&bull;&nbsp;77 Massachusetts
Avenue&nbsp;&bull;&nbsp;Cambridge, MA 02139&nbsp;&bull;&nbsp;USA
{% endblock %}
</td>
</tr>
Expand Down
5 changes: 2 additions & 3 deletions main/templates/email/subscribed_channel_digest.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
font-size: 15px;
line-height: 15px;
color: #a31f34;
margin-bottom: -10px;
"
/>
</td>
Expand Down Expand Up @@ -113,7 +112,7 @@
"
>
View
{{item.resource_type}}
{{item.resource_type|title}}&nbsp;&rarr;
</a>
<p style="margin: 0 0 10px">
<!--
Expand Down Expand Up @@ -171,7 +170,7 @@
</tr>
<tr>
<td style="padding: 10px 20px">
<p style="border-top: thin solid"></p>
<p style="border-top: 1px solid #f3f4f8"></p>
</td>
</tr>

Expand Down

0 comments on commit 89205d7

Please sign in to comment.