<commit_before>{% extends 'base.html.twig' %}

{% block body %}
    {% for concept in concepts %}
        <table class="table">
            <thead>
            </thead>
            <tbody>
            <tr>
                {% for conceptMedia in conceptsMedia[concept.id] %}
                    {% if conceptMedia.conceptmediatype.id == 3 %} {# banner type #}
                        <td>
                            <div class="banner-container">
                                <h3 class="banner-name" class="txt-responsive">{{ conceptMedia.name }}</h3>
                                <h5 class="banner-description" class="txt-responsive">{{ conceptMedia.description }}</h5>
                                <img src="{{ asset(conceptMedia.mediapath) }}" class="img-responsive" alt="banner-{{ conceptMedia.name }}" />
                            </div>
                        </td>
                    {% endif %}
                {% endfor %}
            </tr>
            <tr>
                <td>
                    <h3 class="concept-name">{{ concept.name }}</h3>
                    <p class="concept-description">{{ concept.description }}</p>
                </td>
            </tr>
            <tr>
                <td style="text-align: right;">
                    <button type="button" class="btn btn-success btn-md add-to-basket-concept">
                        <span class="glyphicon glyphicon-shopping-cart" aria-hidden="true"></span> {{ 'basket.addConceptToBasket'|trans }}
                    </button>
                </td>
            </tr>
            </tbody>
        </table>
        <hr>
        <h1>{{ 'concept.productlist'|trans }}</h1>
        {% for conceptProducts in conceptsProducts %}
            {% if conceptProducts.product.deletedat == null %}
            <table class="table">
                <thead>
                </thead>
                <tbody>
                    <tr>
                        <td class="col-md-2" class="bottom-left">
                            {% for conceptsProductMedias in conceptsProductsMedias[conceptProducts.product.id] %}<commit_msg>add a section into concept show for video medias type<commit_after>{% extends 'base.html.twig' %}

{% block body %}
    {% for concept in concepts %}
        <table class="table">
            <thead>
            </thead>
            <tbody>
            <tr>
                <td style="text-align: right;">
                    <button type="button" class="btn btn-success btn-md add-to-basket-concept">
                        <span class="glyphicon glyphicon-shopping-cart" aria-hidden="true"></span> {{ 'basket.addConceptToBasket'|trans }}
                    </button>
                </td>
            </tr>
            <tr>
                {% for conceptMedia in conceptsMedia[concept.id] %}
                    {% if conceptMedia.conceptmediatype.id == 3 %} {# banner type #}
                        <td>
                            <div class="banner-container">
                                <h3 class="banner-name" class="txt-responsive">{{ conceptMedia.name }}</h3>
                                <h5 class="banner-description" class="txt-responsive">{{ conceptMedia.description }}</h5>
                                <img src="{{ asset(conceptMedia.mediapath) }}" class="img-responsive" alt="banner-{{ conceptMedia.name }}" />
                            </div>
                        </td>
                    {% endif %}
                {% endfor %}
            </tr>
            <tr>
                <td>
                    <h3 class="concept-name">{{ concept.name }}</h3>
                    <p class="concept-description">{{ concept.description }}</p>
                </td>
            </tr>
            <tr>
                <td style="text-align: center;">
                    {% for conceptMedia in conceptsMedia[concept.id] %}
                        {% if conceptMedia.conceptmediatype.id == 1 %} {# video type #}
                            <p>
                                <iframe height="215" src="{{ asset(conceptMedia.mediapath) }}" frameborder="0" allowfullscreen></iframe>
                            </p>
                        {% endif %}
                    {% endfor %}
                </td>
            </tr>
            </tbody>
        </table>
        <hr>
        <h1>{{ 'concept.productlist'|trans }}</h1>
        {% for conceptProducts in conceptsProducts %}
            {% if conceptProducts.product.deletedat == null %}
            <table class="table">
                <thead>
                </thead>
                <tbody>
                    <tr>
                        <td class="col-md-2" class="bottom-left">
                            {% for conceptsProductMedias in conceptsProductsMedias[conceptProducts.product.id] %}
{'fraction_non_alphanumeric': 0.1386159314237926, 'fraction_numerical': 0.0052268450763119385, 'mean_word_length': 1.2127659574468086, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 95, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6533379', 'n_tokens_mistral': 1329, 'n_tokens_neox': 1166, 'n_words': 242}