email: Use inline SVG icons

Tests:

- All the icons appear as before in both light/dark themes.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2026-03-11 22:50:50 -07:00 committed by James Valleroy
parent d0d26866bd
commit 59218c16a8
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -4,11 +4,12 @@
{% endcomment %}
{% load i18n %}
{% load plinth_extras %}
{% block subsubmenu %}
<a class="btn btn-default" role="button" href="/rspamd/">
{% trans "Manage Spam" %}
<span class="fa fa-external-link"></span>
{% icon 'external-link' %}
</a>
<a class="btn btn-default" role="button"
href="{% url 'email:aliases' %}">
@ -34,7 +35,7 @@
<a href="{% url 'email:dns' domain %}"
title="{% blocktrans %}View domain: {{ domain }}{% endblocktrans %}">
{{ domain }}</a>
{% if domain == primary_domain %}<div class="app-icon fa fa-tag"></div>{% endif %}
{% if domain == primary_domain %}{% icon 'tag' %}{% endif %}
</div>
{% endfor %}
</div>