custom/plugins/AutoflugTheme/src/Resources/views/storefront/page/content/index.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/content/index.html.twig' %}
  2. {# {% block base_main_inner %}
  3.     {% if (context.customer 
  4.           and not context.customer.requestedGroupId
  5.           and context.customer.groupId == '8a79725feea64caeaf3ecb8e9cb97c02')
  6.           or page.navigationId == '85601b36473d4d7da16f07c8008dcb96'
  7.     %}
  8.         {{ parent() }}
  9.         {{ dump() }}
  10.     {% else %}
  11.         <p>Login required.</p>
  12.         {% sw_include '@Storefront/storefront/component/account/login.html.twig' with {
  13.             'cardTitle': "account.loginHeader"|trans|sw_sanitize
  14.         } %}
  15.     {% endif %}
  16. {% endblock %} #}
  17. {# {% block page_content_blocks %}
  18.     {% if (context.customer 
  19.           and not context.customer.requestedGroupId
  20.           and context.customer.groupId == '8a79725feea64caeaf3ecb8e9cb97c02')
  21.           or page.navigationId == '85601b36473d4d7da16f07c8008dcb96'
  22.           or page.navigationId == 'f79c95f6bf9e40cdb4e85e686ed5733a'
  23.           or page.navigationId == '3615c98f663b41e9b0d0c164f70af9b3'
  24.           or page.navigationId == 'ce6f34bf14034f04bac2307a92776bfd'
  25.           or page.navigationId == '2dd0206ceac74941b8134bf30b10c119'
  26.     %}
  27.         {{ parent() }}
  28.     {% else %}
  29.         <div class="container">
  30.             <div class="row">
  31.                 <div class="col-lg-4">
  32.                     <p style="font-size: 20px; color: orangered; font-weight: bold;">{{ "account.loginRequired"|trans|sw_sanitize }}</p>
  33.                     {% sw_include '@Storefront/storefront/component/account/login.html.twig' with {
  34.                         'cardTitle': "account.loginHeader"|trans|sw_sanitize
  35.                     } %}
  36.                     {% block page_account_register_advantages_list %}
  37.                         <ul>
  38.                             {% block page_account_register_advantages_entry1 %}
  39.                                 <li>{{ "account.registerAdvantage1"|trans|sw_sanitize }}</li>
  40.                             {% endblock %}
  41.                             {% block page_account_register_advantages_entry2 %}
  42.                                 <li>{{ "account.registerAdvantage2"|trans|sw_sanitize }}</li>
  43.                             {% endblock %}
  44.                             {% block page_account_register_advantages_entry3 %}
  45.                                 <li>{{ "account.registerAdvantage3"|trans|sw_sanitize }}</li>
  46.                             {% endblock %}
  47.                             {% block page_account_register_advantages_entry4 %}
  48.                                 <li>{{ "account.registerAdvantage4"|trans|sw_sanitize }}</li>
  49.                             {% endblock %}
  50.                         </ul>
  51.                     {% endblock %}  
  52.                 </div>
  53.             </div>
  54.         </div>
  55.     {% endif %}
  56. {% endblock %} #}