Skip to content

Commit

Permalink
fix: details of improvements oppportunities (#6359)
Browse files Browse the repository at this point in the history
Co-authored-by: off <off@openfoodfacts.org>
  • Loading branch information
stephanegigandet and off committed Jan 28, 2022
1 parent 204ac1c commit b740fc0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ <h2>[% tagtype.tagtype_heading %]</h2>
<p>[% tagid.properties %]</p>
[% END %]

[% tagid.desccription %]
[% tagid.description %]

[% END %]

[% END %]

<!-- end templates/[% template.name %] -->
<!-- end templates/[% template.name %] -->
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<!-- start templates/[% template.name %] -->

<!-- Comparison of product nutrition facts to other products of the same category -->
[% IF tagid.matches('^en:nutrition-(very-)?high/') %]
[% IF tagid.match('^en:nutrition-(very-)?high') %]
<p> [% lang("value_for_the_product") %]: [% product_ref_improvements_data_tagid_product_100g %]
<br> [% display_taxonomy_tag_improvements_data_category %]: [% product_ref_improvements_data_tagid_category_100g %]
</p>
[% END %]

<!-- Opportunities to improve the Nutri-Score by slightly changing the nutrients -->
[% IF tagid.matches('^en:better-nutri-score') %]
[% IF tagid.match('^en:better-nutri-score') %]
<p>
[% nutriscore_sprintf_data %]
</p>
[% END %]

<!-- end templates/[% template.name %] -->
<!-- end templates/[% template.name %] -->

0 comments on commit b740fc0

Please sign in to comment.