From 58c17f31ce0709e62a9565e362db86eb69dc72d1 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 29 Jul 2024 14:37:38 +0100 Subject: Now handles EFL badges for non-featured cards --- pyblackbird_cc/templates/resources/resource_list.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pyblackbird_cc/templates/resources/resource_list.html b/pyblackbird_cc/templates/resources/resource_list.html index ac27d69..73c9113 100644 --- a/pyblackbird_cc/templates/resources/resource_list.html +++ b/pyblackbird_cc/templates/resources/resource_list.html @@ -113,8 +113,13 @@ href="{% url 'resources:resource_detail' resource_id=resource.id %}">{{ resource.name }}
- {{ resource.main_resource_category_name }} + {% if resource.main_resource_category_name == "English as a Foreign Language (EFL)" %} + EFL + {% else %} + {{ resource.main_resource_category_name }} + {% endif %}
{{ resource.age_range }} -- cgit v1.2.3