templates/ECommerce/App/Product/index.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
    
    {% trans_default_domain 'ECommerceBundle' %}
    
    {% block body %}
        {#<div>
            <div class="row">
                <div class="col-md-12">
                    {% include 'ECommerce/App/Product/index.ajax.twig' %}
                </div>
            </div>
        </div>#}
    
        {#{% if not is_granted('ROLE_USER') %}#}
            {#<div class="container mt-5">#}
                {#<div class="row">#}
                    {#<div class="col-12">#}
                        {#<div class="alert alert-primary" role="alert">#}
                            {#Please <a href="{{ path('fos_user_security_login') }}">login</a> or <a#}
                                    {#href="{{ path('fos_user_registration_register') }}">register</a>#}
                            {#to be able to search and purchase product from our store.#}
                            {#<br>#}
                            {#You can even <a href="{{ path('mdl_app_guest') }}">order without#}
                                {#registration</a> without discount by clicking on <a#}
                                    {#href="{{ path('mdl_app_guest') }}">link</a>.#}
                        {#</div>#}
                    {#</div>#}
                {#</div>#}
            {#</div>#}
        {#{% else %}#}
        <!-- search tips -->
        <div class="container-fluid" id="">
            <div class="row">
                <div class="container">
                    <div class="row">
                        <div class="col-md-12">
                            <h3 class="page-title search-tips-title">
                                {{ 'search_tips.title'|trans }}
                            </h3>
                        </div>
    
                        {{ render(controller('App\\Controller\\ECommerce\\App\\SearchTipController::indexAction')) }}
                    </div>
                </div>
            </div>
        </div>
        <!-- / -->
        {#{% endif %}#}
    {% endblock %}