From 74d7df2c8b8e74aa6b51668913e3614b86a13fa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Vigan=C3=B2?= Date: Mon, 29 Dec 2025 11:44:54 +0100 Subject: [PATCH] Add an icon for fetured items --- ram/portal/templates/cards/roster.html | 19 +++++++++++++------ ram/ram/__init__.py | 2 +- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/ram/portal/templates/cards/roster.html b/ram/portal/templates/cards/roster.html index 0f805b8..503ef07 100644 --- a/ram/portal/templates/cards/roster.html +++ b/ram/portal/templates/cards/roster.html @@ -3,12 +3,19 @@
- {% if d.image.exists %} - {{ d }} - {% else %} - - {{ d }} - {% endif %} +
+ {% if d.featured %} + + + + {% endif %} + {% if d.image.exists %} + {{ d }} + {% else %} + + {{ d }} + {% endif %} +

{{ d }} diff --git a/ram/ram/__init__.py b/ram/ram/__init__.py index 123c07d..14781ed 100644 --- a/ram/ram/__init__.py +++ b/ram/ram/__init__.py @@ -1,4 +1,4 @@ from ram.utils import git_suffix -__version__ = "0.18.9" +__version__ = "0.18.10" __version__ += git_suffix(__file__)