From 82d718de5e98b8543796ee61f112ab1e4177d850 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 14 May 2024 17:04:55 +0100 Subject: Further tidying --- .../templates/resources/resource_detail.html | 36 +++++++++++----------- 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'pyblackbird_cc/templates/resources/resource_detail.html') diff --git a/pyblackbird_cc/templates/resources/resource_detail.html b/pyblackbird_cc/templates/resources/resource_detail.html index 605f6bb..0bfdf92 100644 --- a/pyblackbird_cc/templates/resources/resource_detail.html +++ b/pyblackbird_cc/templates/resources/resource_detail.html @@ -7,7 +7,7 @@

{{ resource.name }}

- Subject:{{ resource.main_resource_category }} + Subject: {{ resource.main_resource_category }}
Age range: {{ resource.age_range }} @@ -15,6 +15,12 @@
Resource type: {{ resource.resource_type }}
+
+ Number of files: X NUMBER OF FILES +
+
+
+ Created: {{ resource.created|date:"D d M Y" }}
@@ -30,15 +36,15 @@ -
-
-

Resource files preview

- {% for snapshot_filename, snapshot_urls in resource.snapshot_urls.items %} -
{{ snapshot_filename }}
+ {% for snapshot_filename, snapshot_urls in resource.snapshot_urls.items %} +
+
+

File preview:

+

{{ snapshot_filename|cut:".pdf" }}

-
+
{% for snapshot_url in snapshot_urls %} -
+
{{ snapshot_filename }} @@ -47,18 +53,12 @@
- {% endfor %} -
+
+ {% endfor %}
-
-

What's included?

-
{{ resource.description }}
-

What's it for?

-
{% lorem %}
-

Resource Details

-
{% lorem %}
-
+

What's included?

+
{{ resource.description }}
-- cgit v1.2.3