From 64c1e2ffd2898f41fc6c5e0d080541e7289fe442 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 14 May 2024 19:38:03 +0100 Subject: wip: fixing list page --- .../templates/resources/resource_detail.html | 2 +- .../templates/resources/resource_list.html | 121 +++++++++++++-------- 2 files changed, 75 insertions(+), 48 deletions(-) (limited to 'pyblackbird_cc') diff --git a/pyblackbird_cc/templates/resources/resource_detail.html b/pyblackbird_cc/templates/resources/resource_detail.html index bc41010..6daa42b 100644 --- a/pyblackbird_cc/templates/resources/resource_detail.html +++ b/pyblackbird_cc/templates/resources/resource_detail.html @@ -4,7 +4,7 @@
-

{{ resource.name }}

+

{{ resource.name }}

Subject: {{ resource.main_resource_category }} diff --git a/pyblackbird_cc/templates/resources/resource_list.html b/pyblackbird_cc/templates/resources/resource_list.html index 5b11ff6..fabc6a8 100644 --- a/pyblackbird_cc/templates/resources/resource_list.html +++ b/pyblackbird_cc/templates/resources/resource_list.html @@ -4,58 +4,85 @@ Joanna Lemon Resources - Resource List {% endblock title %} {% block content %} -
- {% if request.user.is_authenticated %} - - {% endif %} - {% if resource_list %} - {% for resource in resource_list %} - -
Logged in as {{ request.user.username }}
{% endblock content %} -- cgit v1.2.3