diff options
| author | unwox <me@unwox.com> | 2025-09-14 19:24:02 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2025-09-14 19:24:02 +0600 |
| commit | 93a063ed518f01c20bef3952f31baa2aa94aabb0 (patch) | |
| tree | f6b23881129c596d22051c3aaf02bb85a759273f /pages/shop/index.fnl | |
| parent | 85feff4a72bade2488c7927624aae3f5af4769dc (diff) | |
small display improvements
Diffstat (limited to 'pages/shop/index.fnl')
| -rw-r--r-- | pages/shop/index.fnl | 2 |
1 files changed, 1 insertions, 1 deletions
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 гр. "]))] |
