From b1c10429ce5b2c83017d500cbe1bf677ca950937 Mon Sep 17 00:00:00 2001 From: brooke Date: Tue, 23 Jul 2024 21:11:47 -0400 Subject: [PATCH] fix rental catalog bugs --- .../layouts/partials/rental_catalog.html | 69 ++++++++++++------- themes/gallo/static/css/tailwind.min.css | 2 +- 2 files changed, 47 insertions(+), 24 deletions(-) diff --git a/themes/gallo/layouts/partials/rental_catalog.html b/themes/gallo/layouts/partials/rental_catalog.html index 79f5b0c..443c508 100644 --- a/themes/gallo/layouts/partials/rental_catalog.html +++ b/themes/gallo/layouts/partials/rental_catalog.html @@ -49,7 +49,6 @@
- {{ end }}
@@ -140,7 +139,34 @@ - {{ partial "catalog-gallery.html" . }} + {{ if .gallery }} +
+ {{ range .gallery }} +
+ + +
+ {{ end }} +
+ {{ end }}
{{ if ne .quant "" }} @@ -183,7 +209,9 @@ Rental Unavailable
{{ end }} {{ if ne .purchaseCost "" }} -
+
Purchase Cost: {{ .purchaseCost }}
@@ -216,7 +244,7 @@