From 93a063ed518f01c20bef3952f31baa2aa94aabb0 Mon Sep 17 00:00:00 2001 From: unwox Date: Sun, 14 Sep 2025 19:24:02 +0600 Subject: small display improvements --- pages/shop/index.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pages/shop/index.fnl') diff --git a/pages/shop/index.fnl b/pages/shop/index.fnl index 08770d0..0b9336e 100644 --- a/pages/shop/index.fnl +++ b/pages/shop/index.fnl @@ -70,7 +70,7 @@ "left: calc(100% / " (# images) " * " (- idx 1) ")")}])))]] [:a {:href item-url} [:h3 {:class "shop-item-title"} product.title]] [:div {:style "font-style: italic; margin-bottom: 0.25rem;"} - (or (dicts.label dicts.tea-type product.type) product.type) ", " + (or (dicts.label dicts.product-type product.type) product.type) ", " (if (= product.packaging "piece") (HTML [:strong {} product.price-per "₽ за 1 шт."]) (HTML [:strong {} (* 50 product.price-per) "₽ за 50 гр. "]))] -- cgit v1.2.3