diff options
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/shop/index.fnl | 3 | ||||
| -rw-r--r-- | pages/shop/order/index.fnl | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pages/shop/index.fnl b/pages/shop/index.fnl index 27060eb..f9f1045 100644 --- a/pages/shop/index.fnl +++ b/pages/shop/index.fnl @@ -132,7 +132,8 @@ :style (.. "z-index: " (+ idx 2) ";" "width: calc(100% / " (# without-videos) ");" "left: calc(100% / " (# without-videos) " * " (- idx 1) ")")}]))))]] - [:h3 {:class "shop-item-title" :data-parser "title"} product.title] + [:a {:href item-url :class "shop-item-title"} + [:h3 {:data-parser "title"} product.title]] (templates.product-overview product "mb-1-25") [:div {:class "shop-item-price mt-auto mb-0-5"} (templates.add-to-basket-form product basket "" redirect-url)]])) diff --git a/pages/shop/order/index.fnl b/pages/shop/order/index.fnl index 4cafd62..904c219 100644 --- a/pages/shop/order/index.fnl +++ b/pages/shop/order/index.fnl @@ -21,9 +21,8 @@ (fn content [db basket data errors agreed-to-cookies? authenticated?] [(HTML [:aside {} - (templates.header "/shop/order") + (templates.header "/shop/order" authenticated?) (if (< 0 (# basket)) (templates.basket basket "/shop/order") "") - (templates.conditions-block) (templates.address-block) (templates.contact-block)]) (HTML @@ -31,7 +30,7 @@ (if (not agreed-to-cookies?) (templates.cookies-agreement) "") [:div {:class "back"} [:a {:href "/shop"} "⟵ Обратно к списку"]] [:section {} - [:h2 {:id "content"} "Оформление заказа"] + [:h2 {:id "content" :class "mb-1"} "Оформление заказа"] [:section {:class "narrow"} [:p {:class "mb-0-5"} "После подтверждения заказа мы с вами свяжемся для уточнения |
