Skip to content

Commit

Permalink
fix: fix icon URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Jan 8, 2024
1 parent 3779205 commit 654ef91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/display_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ <h3>Runtime errors</h3>
</div>
<div class="list_product_name v-space-tiny">{{ product.product_name }}</div>
<div class="list_product_sc">
<img class="list_product_icons" src="https://static.openfoodfacts.org/images/attributes/ecoscore-{{ product.ecoscore_grade }}.svg">
<img class="list_product_icons" src="https://static.openfoodfacts.org/images/attributes/nutriscore-{% if product.nutriscore_grade %}{{ product.nutriscore_grade }}{% else %}unknown{% endif %}.svg">
<img class="list_product_icons" src="https://static.openfoodfacts.org/images/attributes/dist/ecoscore-{{ product.ecoscore_grade }}.svg">
<img class="list_product_icons" src="https://static.openfoodfacts.org/images/attributes/dist/nutriscore-{% if product.nutriscore_grade %}{{ product.nutriscore_grade }}{% else %}unknown{% endif %}.svg">
</div>
</div>
</a>
Expand Down

0 comments on commit 654ef91

Please sign in to comment.