Commit 6b37218e by Gabe Mulley Committed by GitHub

Merge pull request #16335 from edx/making-dynamic-pacing-emails-accessible

Making dynamic pacing emails accessible
parents b964b528 0fc3589c
...@@ -56,7 +56,7 @@ email itself. --> ...@@ -56,7 +56,7 @@ email itself. -->
<td width="70"> <td width="70">
<a href="{{ homepage_url }}"><img <a href="{{ homepage_url }}"><img
src="https://media.sailthru.com/595/1k1/8/o/599f355101b3f.png" width="70" src="https://media.sailthru.com/595/1k1/8/o/599f355101b3f.png" width="70"
height="30" alt="{% blocktrans %}{{ platform_name }} Home Page{% endblocktrans %}"/></a> height="30" alt="{% blocktrans %}Go to {{ platform_name }} Home Page{% endblocktrans %}"/></a>
</td> </td>
<td align="right" style="text-align: right;"> <td align="right" style="text-align: right;">
<a class="login" href="{{ dashboard_url }}" style="color: #005686;">{% trans "Sign In" %}</a> <a class="login" href="{{ dashboard_url }}" style="color: #005686;">{% trans "Sign In" %}</a>
......
{% load i18n %}
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>{% block title %}edX Email{% endblock %}</title> {% get_current_language as LANGUAGE_CODE %}
<title lang="{{ LANGUAGE_CODE|default:"en" }}">
{% block title %}
{% trans "edX Email" %}
{% endblock %}
</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<style type="text/css"> <style type="text/css">
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<img <img
src="{{ cert_image }}" src="{{ cert_image }}"
alt="{% trans 'Example print-out of a verified certificate' %}" alt="{% trans 'Example of a verified certificate' %}"
style=" style="
display: block; display: block;
margin-right: auto; margin-right: auto;
...@@ -75,7 +75,8 @@ ...@@ -75,7 +75,8 @@
border-bottom: 3px solid lightgray; border-bottom: 3px solid lightgray;
border-right: 3px solid lightgray; border-right: 3px solid lightgray;
border-left: 1px solid lightgray; border-left: 1px solid lightgray;
" /> "
/>
<p> <p>
{# email client support for style sheets is pretty spotty, so we have to inline all of these styles #} {# email client support for style sheets is pretty spotty, so we have to inline all of these styles #}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment