From 751865a540280225375ed67f0186417ffdcba275 Mon Sep 17 00:00:00 2001 From: summerscope Date: Fri, 18 Jul 2014 16:05:30 +1000 Subject: [PATCH] More markup tweaks for responsive --- app/views/shop/products/_master.html.haml | 7 +++++-- app/views/shop/products/_summary.html.haml | 4 ++-- app/views/shop/products/_variants.html.haml | 4 +++- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/app/views/shop/products/_master.html.haml b/app/views/shop/products/_master.html.haml index 85403e1851..3e777784de 100644 --- a/app/views/shop/products/_master.html.haml +++ b/app/views/shop/products/_master.html.haml @@ -43,9 +43,12 @@ %em {{ product.master.unit_to_display }} .small-3.medium-2.large-2.columns.variant-price - .table-cell - %i.ofn-i_009-close + .table-cell + %i.ofn-i_009-close {{ product.price | currency }} + %a{}>< + %i.ofn-i_028-barcode + .small-3.medium-2.large-2.columns.total-price.text-right .table-cell diff --git a/app/views/shop/products/_summary.html.haml b/app/views/shop/products/_summary.html.haml index 6f344b9637..aa214f0325 100644 --- a/app/views/shop/products/_summary.html.haml +++ b/app/views/shop/products/_summary.html.haml @@ -1,5 +1,5 @@ .row.summary - .small-10.large-11.columns.summary-header + .small-9.medium-10.large-11.columns.summary-header %h3 {{ product.name }} %em from @@ -8,6 +8,6 @@ %i.ofn-i_036-producers {{ enterprise.name }} - .small-2.large-1.columns.text-center + .small-3.medium-2.large-1.columns.text-center .taxon-flag %render-svg{path: "{{product.primary_taxon.icon}}"} \ No newline at end of file diff --git a/app/views/shop/products/_variants.html.haml b/app/views/shop/products/_variants.html.haml index 358334081b..70889d0cce 100644 --- a/app/views/shop/products/_variants.html.haml +++ b/app/views/shop/products/_variants.html.haml @@ -47,9 +47,11 @@ %em {{ variant.unit_to_display }} .small-3.medium-2.large-2.columns.variant-price - .table-cell + .table-cell %i.ofn-i_009-close {{ variant.price | currency }} + %a{}>< + %i.ofn-i_028-barcode .small-3.medium-2.large-2.columns.total-price.text-right .table-cell