Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions RELEASE.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Release Notes
=============

Version 1.160.5
---------------

- Change font color, make sure that the button is 120px, make sure the button is left aligned in outlook (#3774)

Version 1.160.4 (Released July 22, 2026)
---------------

Expand Down
14 changes: 8 additions & 6 deletions b2b/templates/mail/enrollment_code_assignment/body.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@
<td style="background-color: #ffffff;">
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td style="padding: 20px; font-family: sans-serif; font-size: 20px; line-height: 24px; color: #000000; font-weight: bold;">
<td style="padding: 20px; font-family: sans-serif; font-size: 20px; line-height: 24px; color: #212326; font-weight: bold;">
You've been invited to learn with MIT.
</td>
</tr>
<tr>
<td style="padding: 20px; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;">
<td style="padding: 20px; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #212326;">
<p style="margin: 0 0 10px;"><strong>{{ organization_name }}</strong> has provided you with access to <strong>{{ contract_name }}</strong> on MIT Learn.</p>
<p style="margin: 20px 0 10px;">Enroll to access your courses and begin learning.</p>
</td>
</tr>
<tr>
<td style="padding: 0 20px 20px;">
<!-- Button : BEGIN -->
<table align="left" role="presentation" cellspacing="0" cellpadding="0" border="0" style="margin: auto;">
<table align="left" role="presentation" cellspacing="0" cellpadding="0" border="0" style="margin: 0;">
<tr>
<td class="button-td button-td-primary" style="border-radius: 4px; background: #a31f34;">
<td class="button-td button-td-primary" width="120" style="border-radius: 4px; background: #a31f34; width: 120px;">
<a class="button-a button-a-primary" href="{{code_url}}" style="
background: #a31f34;
border: 1px solid #a31f34;
Expand All @@ -34,6 +34,8 @@
padding: 16px;
color: #fff;
display: block;
width: 120px;
box-sizing: border-box;
border-radius: 4px;">Enroll</a>
</td>
</tr>
Expand All @@ -42,13 +44,13 @@
</td>
</tr>
<tr>
<td style="padding: 0 20px 20px; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;">
<td style="padding: 0 20px 20px; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #212326;">
<p>If you're unable to use the button above, copy and paste this link into your browser:</p>
{{code_url}}
</td>
</tr>
<tr>
<td style="padding: 20px; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;">
<td style="padding: 20px; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #212326;">
<p>Welcome to MIT Learn,</p>
<p><strong>MIT Learn Team</strong></p>
</td>
Expand Down
2 changes: 1 addition & 1 deletion main/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
from main.sentry import init_sentry
from openapi.settings_spectacular import open_spectacular_settings

VERSION = "1.160.4"
VERSION = "1.160.5"

log = logging.getLogger()

Expand Down