help: 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 authored and James Valleroy committed 2026-03-19 19:13:45 -04:00
1 parent 59218c16a8
commit 236f90bbd9
2 files changed
+5 -3

No files matched your search

@@ -5,6 +5,7 @@
{% load i18n %}
{% load static %}
{% load plinth_extras %}
{% block content %}
@@ -18,10 +19,10 @@
d-flex align-items-center">
<div class="me-2">
{% if new_version %}
<span class="fa fa-exclamation-triangle" aria-hidden="true"></span>
{% icon 'exclamation-triangle' %}
<span class="visually-hidden">{% trans "Caution:" %}</span>
{% else %}
<span class="fa fa-check-circle" aria-hidden="true"></span>
{% icon 'check-circle' %}
<span class="visually-hidden">{% trans "Success:" %}</span>
{% endif %}
</div>
@@ -5,6 +5,7 @@
{% load i18n %}
{% load static %}
{% load plinth_extras %}
{% block page_head %}
<link type="text/css" rel="stylesheet"
@@ -14,7 +15,7 @@
{% block content %}
<a href="{% url 'help:download-manual' %}" class="btn btn-default pdf"
role="button">
<span class="fa fa-download fa-fw fa-lg"></span>
{% icon 'download' %}
{% trans 'Download as PDF' %}
</a>
{{ content|safe }}