Files
openfoodnetwork/app/assets/javascripts/templates/product_modal.html.haml
2015-03-19 16:02:52 +11:00

36 lines
1.1 KiB
Plaintext

.row
.columns.small-12.large-6.product-header
%h3 {{product.name}}
%span
%em from
%span.avenir {{ enterprise.name }}
/ TODO: Rob - add in taxons and properties and property pop-overs
/ %render-svg{path: "{{product.primary_taxon.icon}}"}
.pad-top
%span.filter-shopfront.taxon-selectors
%ul.inline-block
%li
%a.button.tiny.disabled Grains
%li
%a.button.tiny.disabled Dairy
%span.filter-shopfront.property-selectors.pad-top
%ul.inline-block
%li
%a.button.tiny Organic certified
/ TODO: Rob - need popover, use will's directive or this? http://pineconellc.github.io/angular-foundation/
%div{"ng-if" => "product.description"}
%hr
%p.text-small {{product.description}}
%hr
.columns.small-12.large-6
%img.product-img{"ng-src" => "{{product.largeImage}}", "ng-if" => "product.largeImage"}
%img.product-img.placeholder{"ng-src" => "/assets/noimage/large.png", "ng-if" => "!product.largeImage"}
%ng-include{src: "'partials/close.html'"}