From d2abe12612108b94135dcb0701614dc216fb92d2 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 13 Sep 2024 20:05:14 +0100 Subject: Adds Add to basket buttons to cards on resource list page --- pyblackbird_cc/templates/resources/resource_card_standard.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'pyblackbird_cc/templates/resources/resource_card_standard.html') diff --git a/pyblackbird_cc/templates/resources/resource_card_standard.html b/pyblackbird_cc/templates/resources/resource_card_standard.html index 9d560eb..b3d230e 100644 --- a/pyblackbird_cc/templates/resources/resource_card_standard.html +++ b/pyblackbird_cc/templates/resources/resource_card_standard.html @@ -33,12 +33,15 @@ {% endif %}

{{ resource.card_description }}

-

1 credit

+
+

1 credit

+ +
{% if request.user.is_authenticated and request.user.is_staff %} -