templates/download/downloads.html.twig line 1

Open in your IDE?
  1. {% extends 'layout/default.html.twig' %}
  2. {% block content %}
  3.     {{ pimcore_placeholder('jsFile').set('js/downloads') }}
  4.     {{ include('includes/heros/content-hero.html.twig', { 'className': 'content-block' }, with_context = false) }}
  5.     {% embed 'includes/editmode-box.html.twig' with { 'showAnchorTitle': false, 'prefix': 'download' } %}
  6.         {% block editmodeSettings %}
  7.             {{ pimcore_relations('filterCategory', {
  8.                 'types' : [ 'object' ],
  9.                 'subtypes' : { 'object' : [ 'object' ] },
  10.                 'classes': [ 'DownloadCategory' ],
  11.                 'title': 'Filter category objects'
  12.             }) }}
  13.             <br>
  14.             use custom sorting {{ pimcore_checkbox("useCustomSorting") }}
  15.         {% endblock %}
  16.     {% endembed %}
  17.     <div class="content-block">
  18.         <div class="container">
  19.             <div class="js-ajax-form position-relative mt-4 mt-md-0" data-ajax-form-add-url-params="true" data-ajax-form-scroll-to-top="true" data-ajax-form-submit-on-reset="true">
  20.                 <div aria-live="polite">
  21.                     <div class="js-ajax-form__notifications mb-3" hidden></div>
  22.                     {{ include('includes/loading/loading-overlay.html.twig', {
  23.                         'className': 'js-ajax-form__loading',
  24.                         'isMobileFixed': true
  25.                     }, with_context = false) }}
  26.                     <div class="js-ajax-form__result">
  27.                         {{ include('download/partials/teaser-grid-result.html.twig', {
  28.                             'downloadAssets' : downloadAssets|default([]),
  29.                             'downloadCategory' : downloadCategory|default([]),
  30.                             'fileTypeOptions' : fileTypeOptions|default([]),
  31.                             'filters' : filters|default([])
  32.                         }, with_context = false) }}
  33.                     </div>
  34.                 </div>
  35.             </div>
  36.         </div>
  37.     </div>
  38. {% endblock %}