templates/areas/watches-news/view.html.twig line 1

Open in your IDE?
  1. {% if editmode %}
  2.     <div class="admin-p-text admin-div-text">
  3.         <p>Cím:</p>
  4.         <p>{{ pimcore_input('title', {'placeholder': 'Cím...'}) }}</p>
  5.         <p>Listázandó hír Tag-ek:</p>
  6.         <p>
  7.         {{ pimcore_multiselect('tags', {
  8.             'width': 200,
  9.             'height': 150,
  10.             'store': selectStore,
  11.             'maxItem': 10,
  12.         }) }}
  13.         </p>
  14.         <p>
  15.             Listázandó hír elemek száma:
  16.             {{ pimcore_input('limit', {
  17.                 'width': 100,
  18.                 'placeholder': 5
  19.             }) }}
  20.         </p>
  21.         <p>Alsó link:</p>
  22.         <p>{{ pimcore_link('bottomLink') }}</p>
  23.     </div>
  24. {% elseif newsList is defined and newsList %}
  25.     <div class="contact-container padding-top-bottom-40 mt-5">
  26.         {% if not pimcore_input('title').isEmpty() %}
  27.         <div class="container">
  28.             <h2 class="section-title">{{ pimcore_input('title') }}</h2>
  29.         </div>
  30.         {% endif %}
  31.         <div class="container">
  32.             <div class="padding-top-80 row d-flex justify-content-center">
  33.                 {% for news in newsList %}
  34.                     {% include 'default/newslistitem.html.twig' with {news: news} only %}
  35.                 {% endfor %}
  36.             </div>
  37.         </div>
  38.         {% if not pimcore_link('bottomLink').isEmpty() %}
  39.             <div class="container text-center">
  40.                 {{ pimcore_link('bottomLink', {
  41.                     'class': 'btn btn-primary',
  42.                     'textPrefix': '<span>',
  43.                     'textSuffix': '</span>'
  44.                 }) }}
  45.             </div>
  46.         {% endif %}
  47.     </div>
  48. {% endif %}