Activate Ember2 for suppliers

This commit is contained in:
2015-08-27 19:52:47 +02:00
parent e71580f349
commit eca4a23c64
79 changed files with 467 additions and 414 deletions
@@ -2,6 +2,6 @@ if gravatar
span.dropdown-trigger.gravatar= gravatar-image gravatar
else
span.dropdown-trigger.button.tiny.dropdown
span.dropdown-trigger-text= view.title
span.dropdown-trigger-text= title
.dropdown-list-container
= yield
@@ -1 +1 @@
= flag view.locale
= flag locale
@@ -1,2 +1,2 @@
each locales as |locale|
view "language-switcher-button" locale=locale
= button-language-switcher locale=locale
@@ -19,7 +19,7 @@ if editMode
= descriptionPlaceholder
= textarea value=product.description placeholder=descriptionPlaceholder
.small-12.medium-6.columns
= view "upload-file" name="image" accept="image/*" file=product.image
= form-file-upload name="image" accept="image/*" file=product.image
img src=product.image_src
each product.product_variants as |product_variant|
.row
@@ -9,7 +9,7 @@ else
.menu-time-preview-selection-container
a.close-time-preview-handle{action "closeTimePreview"}: span
h4= t 'product_category.time_preview.title'
= view "select" content=daysContent optionValuePath="content.value" optionLabelPath="content.text" selection=preview_day prompt=" -- "
= my-select content=daysContent optionValuePath="value" optionLabelPath="text" selection=preview_day prompt=" -- "
br
= boolean-button value=preview_full_day reverse=true text_path="product_category.time_preview.active_at"
unless preview_full_day
@@ -1,7 +1,8 @@
dl.sections-header-container.sub-nav
dd data-section="all": a.section-header-title{action "setSection"} href="" = t 'sections_header.all_sections'
each sections as |section|
dd data-section=section.id
a.section-header-title{action "setSection" section} href="#" = section.title
= sections-header-section section=section
a.section-header-title{action "setSection" section} href="#"
= section.title
/= link-to "section" section.id class="section-jumper"
span.fa.fa-chevron-circle-right