<% if (ob.error) { %>

<%= ob.polyT('listingDetail.errors.loadReview', { id: ob.ratingId, error: ob.error }) %>

<% } else { %> <% let niceSlug = ob.vendorSig.metadata.listingSlug.replace(/-/g, ' '); niceSlug = niceSlug.replace(/\b\w/g, m => m.toUpperCase()); let title = ob.vendorSig.metadata.listingTitle ? ob.vendorSig.metadata.listingTitle : niceSlug; title = title ? title : ob.polyT('reputation.noTitle'); const slugLink = ob.vendorID && ob.vendorSig.metadata.listingSlug ? `ob://${ob.vendorID.peerID}/store/${ob.vendorSig.metadata.listingSlug}` : ''; let background = ''; if (ob.vendorSig.metadata.thumbnail) { background = ob.getServerUrl(`ob/images/${ob.isHiRez() ? ob.vendorSig.metadata.thumbnail.small : ob.vendorSig.metadata.thumbnail.tiny}`); } %>
<% if (!ob.showListingData) { %> <% if (slugLink) { %> <% } else { %>
<% } %> <% } %>
<% if (ob.buyerID) { %> <% const nameLink = `${ob.buyerName}`; %> <%= ob.polyT('listingDetail.review.title', { time: ob.moment(ob.timestamp).format('MMM Do YYYY h:mm a'), name: nameLink }) %> <% } else { %> <%= ob.moment(ob.timestamp).format('MMM Do YYYY h:mm a') %> <% } %>
<% if (!ob.showListingData) { %>

<% if (slugLink) { %> <%= title %> <% } else { %> <%= title %> <% } %>

<% } %>

<%= ob.review %>

<%= ob.polyT('ratingLabels.overall') %>
<%= ob.polyT('ratingLabels.quality') %>
<%= ob.polyT('ratingLabels.asAdvertised') %>
<%= ob.polyT('ratingLabels.delivery') %>
<%= ob.polyT('ratingLabels.service') %>
<% } %>