Fixing FA icon

This commit is contained in:
Peter Pfeufer 2020-09-28 21:07:08 +00:00
parent 3943426c4c
commit b47cd197ce

View File

@ -1,5 +1,5 @@
{% load i18n %} {% load i18n %}
<a href="{% url 'nightmode' %}?next={{ request.path|urlencode }}"> <a href="{% url 'nightmode' %}?next={{ request.path|urlencode }}">
{% trans "Night" %} {% trans "Night" %}
<i class="fa {% if NIGHT_MODE %}fa-toggle-on{% else %}fa-toggle-off{% endif %}" aria-hidden="true"></i> <i class="fas {% if NIGHT_MODE %}fa-toggle-on{% else %}fa-toggle-off{% endif %}" aria-hidden="true"></i>
</a> </a>