<% if ( item.data.type == 'product') { %>
<% var product = item.data.product %>
"/>
<% if (item.data.product.name) { %>
<%= item.data.product.name %>
<% } %>
<% if (item.data.product.brand) { %>
<%= item.data.product.brand %>
<% } %>
<% if (item.data.product.vendor) { %>
<%= item.data.product.vendor %>
<% } %>
<% var itemOnSale = product.item_on_sale && !1; %>
<% var listPrice = product.list_price %>
<% var price = product.price %>
<% var discount = product.discount %>
<% if (product.show_price && product.priceNoSymbol > 0) { %>
<% if (itemOnSale) { %>
<%= listPrice %>
<%= price %> (<%= discount %>% off)
<% } else { %>
<%= price %>
<% } %>
<% } %>
<% if (item.data.product.description) { %>
<%= item.data.product.description %>
<% } %>
<% } else if ( item.data.type == 'product_review') { %>
<% if (!_.isUndefined(item.data.media)) { %>

"/>
<% } %>
<% if (item.data.content_product_review.headline) { %>
<%= item.data.content_product_review.headline %>
<% } %>
<% if (item.data.content_product_review.brand) { %>
<%= item.data.content_product_review.brand %>
<% } %>
<% if (item.data.content_product_review.retailer) { %>
<%= item.data.content_product_review.retailer %>
<% } %>
<%
var seals = item.data.content_product_review.product_review.product_seal
? item.data.content_product_review.product_review.product_seal.seals
: '';
%>
<% var today = new Date(); %>
<% _.each(seals, function(seal) { %>
<% if (today < Date.parse(seal.contract_end_date)) { %>
" alt="<%= seal.type.name %>"/>
<% } %>
<% }); %>
<% var showPrice = item.data.content_product_review.product_review.show_price && (item.data.content_product_review.product_review.retailer.price > 0 || item.data.content_product_review.product_review.product.is_custom) %>
<% var itemOnSale = item.data.content_product_review.product_review.retailer.item_on_sale && !1 %>
<% var listPrice = item.data.content_product_review.product_review.retailer.listprice_formatted %>
<% var price = item.data.content_product_review.product_review.retailer.price_formatted %>
<% var discount = item.data.content_product_review.product_review.retailer.discount %>
<% if (showPrice) { %>
<% if (itemOnSale) { %>
<%= listPrice %>
<%= price %> (<%= discount %>% off)
<% } else { %>
<%= price %>
<% } %>
<% } %>
<% if (item.data.content_product_review.summary) { %>
<%= item.data.content_product_review.summary %>
<% } %>
<% } else { %>
<% if ( item.data.headline ) { %>
<%= item.data.headline %>
<% } %>
<% if ( item.data.dek ) { %>
<%= item.data.dek.replace(/
/g, '
') %>
<% } %>
<% } %>