aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/templates/resources/resource_card.html
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-08-03 21:39:57 +0100
committerMatthew Lemon <y@yulqen.org>2024-08-03 21:39:57 +0100
commitfd1bc6777df5b4c85c899e3bcdd1293a6bead630 (patch)
treef4fbb16bfdb6c5883df64d01e8bd4ea20a2875c5 /pyblackbird_cc/templates/resources/resource_card.html
parenta06c426edc3bb33deab2e55c2dcd5f5c3b2f3504 (diff)
Add feature to add PDFs to resources
Implemented the ability to upload and manage PDFs for resources. Added the necessary form, view, and templates to support this functionality. Updated routes and UI elements to integrate the new feature seamlessly.
Diffstat (limited to 'pyblackbird_cc/templates/resources/resource_card.html')
-rw-r--r--pyblackbird_cc/templates/resources/resource_card.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyblackbird_cc/templates/resources/resource_card.html b/pyblackbird_cc/templates/resources/resource_card.html
index 687438c..a7b03e3 100644
--- a/pyblackbird_cc/templates/resources/resource_card.html
+++ b/pyblackbird_cc/templates/resources/resource_card.html
@@ -39,6 +39,8 @@
class="btn btn-outline-primary btn-sm">Edit</a>
<a href="{% url 'resources:resource_update_thumbnails' resource.id %}"
class="btn btn-outline-primary btn-sm">Edit Feature Images</a>
+ <a href="{% url 'resources:resource_update_pdfs' resource.id %}"
+ class="btn btn-outline-primary btn-sm">Add PDFs</a>
</div>
{% endif %}
</div> \ No newline at end of file