templates/elements/pagesElements/products/_products_detail_information.html.twig line 1

Open in your IDE?
  1. <div class="row mt-5 pt-5">
  2.     <div class="col-lg-12">
  3.         <div>
  4.             <ul class="nav product_detail_nav">
  5.                 <li class="nav-item">
  6.                     <a href="#!" class="nav-link active" aria-current="true" data-bs-toggle="tab"
  7.                        data-bs-target="#description" role="tab" aria-controls="description"
  8.                        aria-selected="true">
  9.                         {{ "Description" | trans }}
  10.                     </a>
  11.                 </li>
  12.                 <li class="nav-item">
  13.                     <a href="#!" class="nav-link" aria-current="true" data-bs-toggle="tab"
  14.                        data-bs-target="#comments" role="tab" aria-controls="comments"
  15.                        aria-selected="true">{{ "Commentaire du pharmacien" | trans }}</a>
  16.                 </li>
  17.                 {% if patient is not null %}
  18.                     <li class="nav-item">
  19.                         <a href="#!" class="nav-link" aria-current="true" data-bs-toggle="tab"
  20.                            data-bs-target="#patient" role="tab" aria-controls="patient"
  21.                            aria-selected="true">{{ "Information patient" | trans }}</a>
  22.                     </li>
  23.                 {% endif %}
  24.                 {% if pro is not null %}
  25.                     <li class="nav-item">
  26.                         <a href="#!" class="nav-link" aria-current="true" data-bs-toggle="tab"
  27.                            data-bs-target="#professionnel" role="tab" aria-controls="professionnel"
  28.                            aria-selected="true">{{ "Information professionnelle" | trans }}</a>
  29.                     </li>
  30.                 {% endif %}
  31.             </ul>
  32.         </div>
  33.         <div class="card">
  34.             <div class="card-body tab-content">
  35.                 <div class="tab-pane active" id="description" role="tabpanel">
  36.                     {{ translated.description | raw }}
  37.                 </div>
  38.                 <div class="tab-pane" id="comments" role="tabpanel">
  39.                     Comment id
  40.                 </div>
  41.                 {% if patient is not null %}
  42.                     <div class="tab-pane" id="patient" role="tabpanel">
  43.                         <div class="accordion accordion-flush">
  44.                             {% autoescape %}
  45.                                 {{ patient | convert_encoding('UTF-8', 'ISO-8859-1') | raw }}
  46.                             {% endautoescape %}
  47.                         </div>
  48.                     </div>
  49.                 {% endif %}
  50.                 {% if pro is not null %}
  51.                     <div class="tab-pane" id="professionnel" role="tabpanel">
  52.                         <div class="accordion accordion-flush">
  53.                             {% autoescape %}
  54.                                 {{ pro | convert_encoding('UTF-8', 'ISO-8859-1') | raw }}
  55.                             {% endautoescape %}
  56.                         </div>
  57.                     </div>
  58.                 {% endif %}
  59.             </div>
  60.         </div>
  61.     </div>
  62. </div>