Skip to content

Commit

Permalink
make username fit with other text when using project logo template
Browse files Browse the repository at this point in the history
  • Loading branch information
AddisonDunn committed Dec 13, 2023
1 parent d59c403 commit 5438b12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{% blocktrans %}
Reset password for
{% endblocktrans %}
<a style="color: #ffffff !important; text-decoration: none !important;">{{ user.get_username }}</a>
<a style="{% if "_base_container_project_logo" in base_container_template %} color: #000000 {% else %} color: #ffffff {% endif %}!important; text-decoration: none !important;">{{ user.get_username }}</a>
{% endblock %}

{% block cta_url %}{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}{% endblock %}
Expand Down

0 comments on commit 5438b12

Please sign in to comment.