From b818bc908fc3fc54d91fdb6e9314a7112154858c Mon Sep 17 00:00:00 2001 From: bruno Date: Tue, 21 Jul 2026 10:22:33 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20=5Fheader=20page=5Ficon=20rendered=20wor?= =?UTF-8?q?d=20=E2=86=92=20SVG=20icon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit _header.html L54: {{ page_icon }} affichait le mot 'home'/'file'/'paperclip' au lieu de l'icône SVG. Maintenant détecte les noms connus → fd_icon(). Fallback pour les valeurs non-reconnues: affiche tel quel. 143 tests passent --- app/templates/_header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/_header.html b/app/templates/_header.html index 8c13d7f..1e1c1b3 100644 --- a/app/templates/_header.html +++ b/app/templates/_header.html @@ -51,7 +51,7 @@
{% if page_icon %} - {{ page_icon }} + {% if page_icon in ("folder","file","star","link","trash","book","home","settings","lock","globe","image","edit","calendar","users","user","search","tag","bar-chart","grid","list","align-left","zap","paperclip","key","refresh","upload") %}{{ fd_icon(page_icon,18) }}{% else %}{{ page_icon }}{% endif %} {% endif %}