Skip to content
Snippets Groups Projects
Commit 231dd68f authored by Adeel Khan's avatar Adeel Khan
Browse files

Make button style primary

VAN-274
parent 2b4b53d3
Branches
Tags release-2020-05-26-15.05
No related merge requests found
......@@ -4,7 +4,9 @@
<p>
{# email client support for style sheets is pretty spotty, so we have to inline all of these styles #}
<a
{% if course_cta_url %}
{% if reset_url %}
href={{reset_url}}
{% elif course_cta_url %}
href="{% with_link_tracking course_cta_url %}"
{% else %}
{%if course_ids|length > 1 %}
......
......@@ -37,22 +37,7 @@
{% trans "Change my Password" as course_cta_text %}
{# email client support for style sheets is pretty spotty, so we have to inline all of these styles #}
<a href="{{ reset_link }}" style="
color: #ffffff;
text-decoration: none;
border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
background-color: #005686;
border-top: 12px solid #005686;
border-bottom: 12px solid #005686;
border-right: 50px solid #005686;
border-left: 50px solid #005686;
display: inline-block;
">
{# old email clients require the use of the font tag :( #}
<font color="#ffffff"><b>{{ course_cta_text }}</b></font>
</a>
{% include "ace_common/edx_ace/common/return_to_course_cta.html" with course_cta_text=course_cta_text reset_url=reset_link %}
{% endif %}
</td>
</tr>
......
......@@ -4,7 +4,9 @@
<p>
{# email client support for style sheets is pretty spotty, so we have to inline all of these styles #}
<a
{% if course_cta_url %}
{% if reset_url %}
href={{reset_url}}
{% elif course_cta_url %}
href="{% with_link_tracking course_cta_url %}"
{% else %}
{%if course_ids|length > 1 %}
......
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