New iteration style for ember supplier
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
each locale in locales
|
||||
each locales as |locale|
|
||||
view "language-switcher-button" locale=locale
|
||||
|
||||
@@ -21,7 +21,7 @@ if editMode
|
||||
.small-12.medium-6.columns
|
||||
= view "upload-file" name="image" accept="image/*" file=product.image
|
||||
img src=product.image_src
|
||||
each product_variant in product.product_variants
|
||||
each product.product_variants as |product_variant|
|
||||
.row
|
||||
.small-1.columns
|
||||
.small-8.medium-5.large-4.columns= input value=product_variant.name
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
dl.sections-header-container.sub-nav
|
||||
dd data-section="all": a.section-header-title{action "setSection"} href="" = t 'sections_header.all_sections'
|
||||
each s in sections
|
||||
dd data-section=s.id
|
||||
a.section-header-title{action "setSection" s} href="#" = s.title
|
||||
/= link-to "section" s.id class="section-jumper"
|
||||
each sections as |section|
|
||||
dd data-section=section.id
|
||||
a.section-header-title{action "setSection" section} href="#" = section.title
|
||||
/= link-to "section" section.id class="section-jumper"
|
||||
span.fa.fa-chevron-circle-right
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if other_suppliers
|
||||
ul.button-group.stack-for-small.round
|
||||
each supplier in other_suppliers
|
||||
each other_suppliers as |supplier|
|
||||
li: a.warning.button{action "switchTo" supplier}= t 'suppliers_switcher.switch_to_button' supplier
|
||||
|
||||
Reference in New Issue
Block a user