<commit_before>{% extends '@Shop/layout.html.twig' %}
{% trans_default_domain 'ShopBundle' %}

{% block title %}
    {{ manufacturer.name }}
{% endblock title %}

{% block metadescription %}{{ manufacturer.metaDescription }}{% endblock %}
{% block metakeys %}{{ manufacturer.metaKeys }}{% endblock %}

{% block page_content -%}
    <div class="well well-sm">
        <div class="btn-group">
            <a href="#" id="list" class="btn btn-default btn-sm"><span class="glyphicon glyphicon-th-list">
            </span>{{ 'manufacturer.view.list'|trans }}</a> <a href="#" id="grid" class="btn btn-default btn-sm"><span
                        class="glyphicon glyphicon-th"></span>{{ 'category.view.grid'|trans }}</a>
        </div>
        <strong>{{ manufacturer.name }}</strong>
        <div class="dropdown pull-right">
            <strong>{{ 'manufacturer.sort.by'|trans }}</strong>
            <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown"
                    aria-haspopup="true" aria-expanded="true">
                {{ sortedby|trans }}
                <span class="caret"></span>
            </button>
            <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
                <li>{{ knp_pagination_sortable(products, 'manufacturer.sort.name'|trans, 'p.name') }}</li>
                <li>{{ knp_pagination_sortable(products, 'manufacturer.sort.price'|trans, 'p.price') }}</li>
            </ul>
        </div>
    </div>
    <div id="products" class="row list-group">
    {% if products|length %}
        {% for product in products %}
            <div class="item col-md-4 col-lg-3">
                <div class="thumbnail">
                    <a href="{{ path('show_product', {'slug' : product.slug}) }}">
                        {% if product.images|length %}
                            <img class="group list-group-image"
                                 src="{{ asset( ('uploads/gallery/' ~ product.images.first().path) | imagine_filter('category_mainpage_thumb')) }}"
                                 alt="{{ product.name }}" />
                        {% else %}
                            <img class="group list-group-image"
                                 src="{{ asset( ('uploads/gallery/no_image_available.png') | imagine_filter('category_mainpage_thumb')) }}"
                                 alt="{{ product.name }}" />
                        {% endif %}
                    </a>
                    <div class="caption description-container" data-id="{{ product.id }}">
                        <a href="{{ path('show_product', {'slug' : product.slug}) }}">
                            <h4 class="group inner list-group-item-heading product-title">
                                {{ product.name }} ({{ product.measureQuantity }} {{ product.measure.name }})
                            </h4><commit_msg>add class<commit_after>{% extends '@Shop/layout.html.twig' %}
{% trans_default_domain 'ShopBundle' %}

{% block title %}
    {{ manufacturer.name }}
{% endblock title %}

{% block metadescription %}{{ manufacturer.metaDescription }}{% endblock %}
{% block metakeys %}{{ manufacturer.metaKeys }}{% endblock %}

{% block page_content -%}
    <div class="well well-sm">
        <div class="btn-group">
            <a href="#" id="list" class="btn btn-default btn-sm"><span class="glyphicon glyphicon-th-list">
            </span>{{ 'manufacturer.view.list'|trans }}</a> <a href="#" id="grid" class="btn btn-default btn-sm"><span
                        class="glyphicon glyphicon-th"></span>{{ 'category.view.grid'|trans }}</a>
        </div>
        <strong>{{ manufacturer.name }}</strong>
        <div class="dropdown pull-right">
            <strong>{{ 'manufacturer.sort.by'|trans }}</strong>
            <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown"
                    aria-haspopup="true" aria-expanded="true">
                {{ sortedby|trans }}
                <span class="caret"></span>
            </button>
            <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
                <li>{{ knp_pagination_sortable(products, 'manufacturer.sort.name'|trans, 'p.name') }}</li>
                <li>{{ knp_pagination_sortable(products, 'manufacturer.sort.price'|trans, 'p.price') }}</li>
            </ul>
        </div>
    </div>
    <div id="products" class="row list-group">
    {% if products|length %}
        {% for product in products %}
            <div class="item col-md-4 col-lg-3">
                <div class="thumbnail">
                    <a href="{{ path('show_product', {'slug' : product.slug}) }}">
                        {% if product.images|length %}
                            <img class="group list-group-image"
                                 src="{{ asset( ('uploads/gallery/' ~ product.images.first().path) | imagine_filter('category_mainpage_thumb')) }}"
                                 alt="{{ product.name }}" />
                        {% else %}
                            <img class="group list-group-image"
                                 src="{{ asset( ('uploads/gallery/no_image_available.png') | imagine_filter('category_mainpage_thumb')) }}"
                                 alt="{{ product.name }}" />
                        {% endif %}
                    </a>
                    <div class="caption description-container id-row" data-id="{{ product.id }}">
                        <a href="{{ path('show_product', {'slug' : product.slug}) }}">
                            <h4 class="group inner list-group-item-heading product-title">
                                {{ product.name }} ({{ product.measureQuantity }} {{ product.measure.name }})
                            </h4>
{'fraction_non_alphanumeric': 0.17048784692294433, 'fraction_numerical': 0.002068608860541286, 'mean_word_length': 1.866600790513834, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3109835', 'n_tokens_mistral': 1642, 'n_tokens_neox': 1535, 'n_words': 299}