Merge pull request #26819 from edx/adeel/van_274_fix_password_reset_button_style
Make button style primary
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user