{%if (user.isTraductor() or user.isAdmin()) and currentLanguageCode != 'fr' %}
Marquer traduit
{% endif %}
{% if user.canEditProduct() %}
Valider
{% endif %}
{% if user.canPublish() %}
Valider & Publier
{% endif %}
Attribut
Designation Print
{%if (user.isTraductor() or user.isAdmin()) and currentLanguageCode != 'fr' %}
Marquer traduit
{% endif %}
{% if user.canEditProduct() %}
Valider
{% endif %}
{% if user.canPublish() %}
Valider & Publier
{% endif %}
{% include 'components/asset.html.twig' with {'product' : product, 'index' : 0, 'type' : 'image', 'user' : user } %}
{% include 'components/asset-see.html.twig' with {'product' : product, 'index' : 0, 'type' : 'image', 'user' : user } %}
Photo 2
Photo 3
Photo 4
{% for i in 1..3 %}
{% include 'components/asset.html.twig' with {'product' : product, 'index' : i, 'type' : 'image', 'user' : user } %}
{% if i != 3 %}
{% endif %}
{% endfor %}
{% for i in 1..3 %}
{% include 'components/asset-see.html.twig' with {'product' : product, 'index' : i, 'type' : 'image', 'user' : user } %}
{% if i != 3 %}
{% endif %}
{% endfor %}
Photo 5
Photo 6
Photo 7
{% for i in 4..6 %}
{% include 'components/asset.html.twig' with {'product' : product, 'index' : i, 'type' : 'image', 'user' : user } %}
{% if i != 6 %}
{% endif %}
{% endfor %}
{% for i in 4..6 %}
{% include 'components/asset-see.html.twig' with {'product' : product, 'index' : i, 'type' : 'image', 'user' : user } %}
{% if i != 6 %}
{% endif %}
{% endfor %}
Picto 1
Picto 2
Picto 3
{% for i in 0..2 %}
{% include 'components/asset.html.twig' with {'product' : product, 'index' : i, 'type' : 'picto', 'user' : user } %}
{% if i != 2 %}
{% endif %}
{% endfor %}
{% for i in 0..2 %}
{% include 'components/asset-see.html.twig' with {'product' : product, 'index' : i, 'type' : 'picto', 'user' : user } %}
{% if i != 2 %}
{% endif %}
{% endfor %}
Picto 4
Picto 5
Picto 6
{% for i in 3..5 %}
{% include 'components/asset.html.twig' with {'product' : product, 'index' : i, 'type' : 'picto', 'user' : user } %}
{% if i != 5 %}
{% endif %}
{% endfor %}
{% for i in 3..5 %}
{% include 'components/asset-see.html.twig' with {'product' : product, 'index' : i, 'type' : 'picto', 'user' : user } %}
{% if i != 5 %}
{% endif %}
{% endfor %}
Vidéo 1
Vidéo 2
Vidéo 3
{% for i in 0..2 %}
{% include 'components/asset.html.twig' with {'product' : product, 'index' : i, 'type' : 'video', 'user' : user } %}
{% if i != 2 %}
{% endif %}
{% endfor %}
{% for i in 0..2 %}
{% include 'components/asset-see.html.twig' with {'product' : product, 'index' : i, 'type' : 'video', 'user' : user } %}
{% if i != 2 %}
{% endif %}
{% endfor %}
Fiche Technique
FDS
Documentation
{% for i in 0..2 %}
{% include 'components/asset.html.twig' with {'product' : product, 'index' : i, 'type' : 'pdf', 'user' : user } %}
{% if i != 2 %}
{% endif %}
{% endfor %}
{% for i in 0..2 %}
{% include 'components/asset-see.html.twig' with {'product' : product, 'index' : i, 'type' : 'pdf', 'user' : user } %}
{% if i != 2 %}
{% endif %}
{% endfor %}
{% if user.canDeleteProduct() %}
supprimer la fiche
{% else %}
{% endif %}
{%if mode == "new" %}
{{ 'Référence'|trans }}
{% else %}
{{ 'Référence'|trans }}
{{ product.getReference() }}
{% endif %}
{%if mode == "new" %}
{{ 'Référence' }}
{% else %}
{{ 'Référence'|trans }}
{{ product.getReference() }}
{% endif %}
{{ 'Sous sous famille'|trans }}
{{ 'Sous sous famille'|trans }}
{% for property in product.getEditableProperties() %}
{% set showOnlyEditable = false %}
{%if user.isTraductor() %}
{% set showOnlyEditable = true %}
{% endif %}
{% if (user.canReadField(product, property, currentLanguageCode)) or (showOnlyEditable == false) %}
{% include 'components/field.html.twig' with {'product' : product, 'user' : user, 'channel' : 'web', 'productAtVersion' : productAtVersion, 'currentLanguageCode' : currentLanguageCode } %}
{% if user.canEditField(product, property, currentLanguageCode) %}