refactor: reduce nesting Display.pm (#7241)
refactor: reduce nesting Display.pm (#7241)

Reverting the if statements to lessen the amount of nesting
openfoodfacts/openfoodfacts-server,openfoodfacts/openfoodfacts-server,openfoodfacts/openfoodfacts-server,openfoodfacts/openfoodfacts-server,openfoodfacts/openfoodfacts-server