From f8401c76e3477489baf5b527a2edf1a538d3b761 Mon Sep 17 00:00:00 2001 From: Christophe Siraut Date: Thu, 14 Mar 2024 08:54:51 +0100 Subject: [PATCH] templates/edit-link: use fontawesome icons --- aircox/templates/aircox/edit-link.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/aircox/templates/aircox/edit-link.html b/aircox/templates/aircox/edit-link.html index 8eb0415..03ea955 100644 --- a/aircox/templates/aircox/edit-link.html +++ b/aircox/templates/aircox/edit-link.html @@ -4,15 +4,17 @@ {% if user.is_authenticated and can_edit %} {% with request.resolver_match.view_name as view_name %}   - {% if view_name in 'program-edit,bla' %} + {% if view_name in 'page-edit,program-edit,episode-edit' %} {% else %} - {% translate 'Edit' %} 🖉 + {% translate 'Edit' %} + {% endif %} {% endwith %}