ui: Use inline SVG icons for port fowarding info

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 authored and James Valleroy committed 2026-03-19 19:13:19 -04:00
1 parent 69c44af700
commit 66a6783a43
1 file changed
+3 -2
+3 -2
View File
@@ -3,6 +3,7 @@
{% endcomment %}
{% load i18n %}
{% load plinth_extras %}
{% if port_forwarding_info.ports %}
<h3>{% trans "Port Forwarding" %}</h3>
@@ -14,7 +15,7 @@
Your FreedomBox is <a href="{{ networks_url }}">not behind a router</a>.
No action is necessary.
{% endblocktrans %}
<span class="fa fa-check" aria-hidden="true"></span>
{% icon 'check' %}
</p>
{% elif port_forwarding_info.router_configuration_type == 'dmz' %}
<p>
@@ -23,7 +24,7 @@
you are using the DMZ feature to forward all ports. No further router
configuration is necessary.
{% endblocktrans %}
<span class="fa fa-check" aria-hidden="true"></span>
{% icon 'check' %}
</p>
{% else %}
<p>