Skip to content
Snippets Groups Projects
Unverified Commit 32fd2407 authored by adeel khan's avatar adeel khan Committed by GitHub
Browse files

Merge pull request #26819 from edx/adeel/van_274_fix_password_reset_button_style

Make button style primary
parents 2b4b53d3 231dd68f
Branches
Tags release-2021-03-04-02.42
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