From eeaddb27560d723ca7d61359744ceb2709fccd2d Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 15 Oct 2024 21:01:31 +0100 Subject: Renamed from pyblackbird_cc to alphabetlearning - everywhere --- .../resources/resource_card_featured.html | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 alphabetlearning/templates/resources/resource_card_featured.html (limited to 'alphabetlearning/templates/resources/resource_card_featured.html') diff --git a/alphabetlearning/templates/resources/resource_card_featured.html b/alphabetlearning/templates/resources/resource_card_featured.html new file mode 100644 index 0000000..8a92729 --- /dev/null +++ b/alphabetlearning/templates/resources/resource_card_featured.html @@ -0,0 +1,49 @@ +{% load static %} +{% load markdown_extras %} + +
+ {{ resource.thumbnail_filename }} +
+ +
+ {{ resource.age_range }} + {% if resource.main_resource_category_name == "English as a Foreign Language (EFL)" %} + EFL + {% else %} + {{ resource.main_resource_category_name }} + {% endif %} + {% if request.user.is_authenticated and request.user.is_staff %} + Feature slot: {{ resource.feature_slot }} + {% endif %} +
+ {% if resource.card_description %} +
+

{{ resource.card_description | markdown | safe }}

+
+ {% else %} +

{{ resource.description | markdown | safe }}

+ {% endif %} +
+

1 credit

+ +
+
+ + {% if request.user.is_authenticated and request.user.is_staff %} + + {% endif %} +
-- cgit v1.2.3