{% for userLoop in users %} {% if user.getId() == userLoop.getId() %} {{ userLoop.getName() }} {% else %} {{ userLoop.getName() }} {% endif %} {% endfor %}  
deconnexion
retour
{{ category.getName() }}  
page {{ subcategory.getIndexOfProduct(product)+1 }}/{{ productCount }} {%if subcategory.getPreviousProduct(product) != null %} {% endif %} {%if subcategory.getNextProduct(product) != null %} {% endif %}
{% if user.canAddProduct() %}
Ajouter un PRODUIT
{% endif %}
  {% if user.canAddProduct() %}
Ajouter un ATTRIBUT
{% endif %}
 
Voir les déclinaisons
 
  {{ product.getValue("name", "web", currentLanguageCode) }}
{{ product.getReference() }}
Attribut
Designation Web {%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 } %} {% if user.canDeleteProduct() %} {% else %} {% endif %}
 
{% 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 2   Photo 3   Photo 4
 
 
{% 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 %}
Photo 5   Photo 6   Photo 7
 
 
 
{% 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 1   Picto 2   Picto 3
 
 
{% 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 %}
Picto 4   Picto 5   Picto 6
 
 
 
{% 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 %}
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' : '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 %}
Fiche Technique   FDS   Documentation
 
 
 
supprimer la fiche
 
{%if mode == "new" %} {% else %} {% endif %} {%if mode == "new" %} {% else %} {% endif %} {% 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) %} {% else %} {% endif %} {% include 'components/field.html.twig' with {'product' : product, 'user' : user, 'channel' : 'print', 'productAtVersion' : productAtVersion, 'currentLanguageCode' : currentLanguageCode } %} {% endif %} {% endfor %}
{{ 'Référence'|trans }}
{{ 'Référence'|trans }} {{ product.getReference() }} {{ 'Référence' }}
{{ 'Référence'|trans }} {{ product.getReference() }}
{{ 'Sous sous famille'|trans }}   {{ 'Sous sous famille'|trans }}