src/Package/Openform/Front/Templates/AntiqueSuit/_templates/_sections/_section-6.html.twig line 1

Open in your IDE?
  1. <div class="object__wrapper object__wrapper--last object__item__section">
  2.     <div class="object__wrapper__title object__wrapper__title--mb-20">{{ ('T_RECORD_INFORMATION')|trans({}, 'openform_front', app.request.locale) }}:</div>
  3.     <div class="object__wrapper__list">
  4.         {% if entity.Translation[app.request.locale].updatedAt %}
  5.             <div class="object__item-wrap">
  6.                 <h3 class="object__item-wrap__title">{{ ('T_UPDATE_AT')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  7.                 <div class="object__item-wrap__text">
  8.                     {% include('@openform_front_templates/AntiqueSuit/_templates/_fields/_date_and_age.html.twig') with {'date': entity.Translation[app.request.locale].updatedAt} %}
  9.                 </div>
  10.             </div>
  11.         {% endif %}
  12.         {% if entity.id %}
  13.             <div class="object__item-wrap">
  14.                 <h3 class="object__item-wrap__title">{{ ('T_ID_NUMBER')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  15.                 <div class="object__item-wrap__text">
  16.                     {{ entity.id }}
  17.                 </div>
  18.             </div>
  19.         {% endif %}
  20.         {% set href =  app.request.getSchemeAndHttpHost() ~ toolkit_route_localizer.generate('antique_item',{ slug : entity.Translation[app.request.locale].slug }, app.request.locale) %}
  21.         {% if href %}
  22.             <div class="object__item-wrap">
  23.                 
  24.                 <h3 class="object__item-wrap__title">{{ ('T_OBJECT_URL')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  25.                 <div class="object__item-wrap__text">
  26.                     <a href="{{ href }}">{{ href }}</a>
  27.                 </div>
  28.             </div>
  29.         {% endif %}
  30.     </div>
  31. </div>