Skip to content

Commit

Permalink
Fix homepage thumbs (#1980)
Browse files Browse the repository at this point in the history
Closes #1977
  • Loading branch information
alanmoo committed Oct 19, 2018
1 parent 9753d97 commit 073c508
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h1 class="h1-heading text-center mt-4">Shop Safe This Holiday Season</h1>
{% for product in products %}
<div class="product-box bg-gray" data-creepiness="{{ product.votes.creepiness.average }}">
{% if product.votes.confidence %}
{% if product.votes.confidence.vote_breakdown.1 > product.votes.confidence.vote_breakdown.0 %}
{% if product.votes.confidence.1 > product.votes.confidence.0 %}
<div class="recommendation go-for-it m-2"></div>
{% else %}
<div class="recommendation stay-away m-2"></div>
Expand Down

0 comments on commit 073c508

Please sign in to comment.