diff options
author | Matthew Lemon <y@yulqen.org> | 2024-05-26 17:14:04 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-05-26 17:14:04 +0100 |
commit | 3396cf72bd18775f92f3036766c7a18647c0c624 (patch) | |
tree | 13d17cc6c574b0d5003f34f365d26efc771dcb82 /pyblackbird_cc/templates/resources | |
parent | 43248bb7e7134c432a16ad624d63ae254c0a65ea (diff) |
Adds a link to each card on the index page
Diffstat (limited to '')
-rw-r--r-- | pyblackbird_cc/templates/resources/resource_list.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pyblackbird_cc/templates/resources/resource_list.html b/pyblackbird_cc/templates/resources/resource_list.html index 9b428d3..1f92a65 100644 --- a/pyblackbird_cc/templates/resources/resource_list.html +++ b/pyblackbird_cc/templates/resources/resource_list.html @@ -50,6 +50,7 @@ src="{{ resource.thumbnail_urls|first }}" alt="{{ resource.thumbnail_filename }}" /> <div class="card-body"> + <a href="{% url 'resources:resource_detail' resource_id=resource.id %}" class="stretched-link"></a> <h5 class="card-title">{{ resource.name }}</h5> <div class="d-flex flex-row justify-content-start align-content-center"> <div> @@ -98,6 +99,7 @@ src="{{ resource.thumbnail_urls|first }}" alt="{{ resource.thumbnail_filename }}" /> <div class="card-body"> + <a href="{% url 'resources:resource_detail' resource_id=resource.id %}" class="stretched-link"></a> <h5 class="card-title">{{ resource.name }}</h5> <div class="d-flex flex-row justify-content-start align-content-center"> <div> |