vendor/pimcore/portal-engine/src/Resources/views/error_page/base_error_page.html.twig line 4

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale }}">
  3. <head>
  4.     {{ include("@PimcorePortalEngine/shared/layout/head.html.twig") }}
  5. </head>
  6. <body class="full-height-layout">
  7. {% set homeLink = document.property(constant("Pimcore\\Bundle\\PortalEngineBundle\\Enum\\Routing::NAVIGATION_ROOT_PROPERTY")) ?? portalEngine_portalConfig().portalDocument %}
  8. {% if app.request.get('publicShareHash') %}
  9.     {% set homeLink = path('pimcore_portalengine_public_share_public_list', {publicShareHash:app.request.get('publicShareHash')}) %}
  10. {% endif %}
  11. {% block navbar %}
  12.     <header class="full-height-layout__fit">
  13.         <nav class="main-navbar js-main-nav">
  14.             <div class="main-navbar__top">
  15.                 <div class="container">
  16.                     <div class="row no-gutters flex-nowrap align-items-center">
  17.                         <div class="col-3 col-md-2">
  18.                             <a href="{{ homeLink }}">
  19.                                 <img class="img-fluid main-navbar__logo" src="{{ portalEngine_images_logo(constant('Pimcore\\Bundle\\PortalEngineBundle\\Enum\\ImageThumbnails::LOGO')) }}">
  20.                             </a>
  21.                         </div>
  22.                     </div>
  23.                 </div>
  24.             </div>
  25.         </nav>
  26.     </header>
  27. {% endblock %}
  28. <div class="container">
  29.     {% block error_page_content %}
  30.         <div class="page-wrap d-flex flex-row align-items-center mt-5 mb-5">
  31.             <div class="container">
  32.                 <div class="row justify-content-center">
  33.                     <div class="col-md-12 text-center">
  34.                         {% block error_page_content_details %}
  35.                         {% endblock %}
  36.                         <a href="{{ homeLink }}" class="btn btn-primary">{{ "portal-engine.404.link"|trans }}</a>
  37.                     </div>
  38.                 </div>
  39.             </div>
  40.         </div>
  41.     {% endblock %}
  42.     {{ include('@PimcorePortalEngine/error_page/shared/debug_info.html.twig')}}
  43. </div>
  44. </body>