ProductOpener::Web - contains display functions for the website.
ProductOpener::Web
consists of functions used only in OpenFoodFacts website for different tasks.
The module implements the functions that are being used by the OpenFoodFacts website. This module consists of different functions for displaying the different parts of home page, creating and saving products, etc
This function is used to display the one characteristic in the product's characteristics section on the product page.
Display on the product page a list of data quality issues, and of improvement opportunities. This is for the platform for producers.
Display an explanation of the data quality warning or error, using specific product data related to the warning.
Generate HTML code corresponding to a specific panel.
The code is generated by the web/panels/panel.tt.html template.
Generates a data structure containing the list of languages and their translation in a target language. The data structured can be passed to HTML templates to construction a list of options for a select element.
Generates all the countries name in the $target_lc language suitable for an select option list
A reference to a list of hashes with every country code and their label in the $lc language [{value => "fr", label => "France"},…]