From 811b18c239348bf9cd82712b82faaf77f019fd8f Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 11 Mar 2026 21:38:01 -0700 Subject: [PATCH] names: Use inline SVG icons for main app page Tests: - The icons appears as before on the add/edit/delete buttons in light/dark themes. - The icon appears as before on the error message. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- plinth/modules/names/templates/names.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/plinth/modules/names/templates/names.html b/plinth/modules/names/templates/names.html index 607c2d440..4115bf1f7 100644 --- a/plinth/modules/names/templates/names.html +++ b/plinth/modules/names/templates/names.html @@ -5,6 +5,7 @@ {% load bootstrap %} {% load i18n %} +{% load plinth_extras %} {% block status %} {{ block.super }} @@ -31,7 +32,7 @@ {% if domain.domain_type.configuration_url %} - + {% icon 'wrench' %} {% trans "Configure" %} {% endif %} @@ -39,14 +40,14 @@ - + {% icon 'pencil-square-o' %} {% endif %} {% if domain.domain_type.delete_url %} - + {% icon 'trash-o' %} {% endif %} @@ -67,14 +68,14 @@ {% if domain_type.configuration_url %} - + {% icon 'wrench' %} {% trans "Configure" %} {% endif %} {% if domain_type.add_url %} - + {% icon 'plus' %} {% trans "Add" %} {% endif %} @@ -155,7 +156,7 @@ {% else %}
- + {% icon 'exclamation-triangle' %} {% trans "Caution:" %}