mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-25 09:21:10 +00:00
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:
parent
59218c16a8
commit
236f90bbd9
@ -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 }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user