<commit_before>{% extends 'ApplicationDefaultBundle:Redesign:layout.html.twig' %}

{% block title %}{% if event.name is not null %}{{ event.name }}{% else %}{{ parent() }}{% endif %}{% endblock title %}

{% block meta_description %}
    {% if event.metaDescription is not null %}
    <meta name="description" content="{{ event.metaDescription }}">
    {% else %}
    {{ parent() }}
    {% endif %}
{% endblock meta_description %}

{% block body_class %}
{% if event.smallEvent %}
<body class="short-event">
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}

{% block content %}
    {% include 'ApplicationDefaultBundle:Redesign/Event:event.header.html.twig' with {
    'event':event,
    'programPage':programPage,
    'venuePage':venuePage,
    'pages':pages,
    'position':'event',
    'eventCurrentAmount':eventCurrentAmount
    } %}
    <!--BEGIN event-description-->
    <section class="event-description">
        <div class="container container--sm">
            <div class="event-description__text static-styles">
            {{ event.about|raw }}
            </div>
        </div>
    </section>
    <!--END event-description-->
    <!--BEGIN speakers-->
    {% include 'ApplicationDefaultBundle:Redesign/Event:event.speakers.html.twig' with {'event':event} %}
    <!--END speakers-->
    <!--BEGIN program-->
    {% if programPage %}
    <section id="program-event" class="schedule">
        <div class="container schedule__container">
            <h2 class="h2 schedule__title">{{ 'event.page.program'|trans }}</h2>
            {% if programPage.textNew is not empty %}
                {{ programPage.textNew|raw }}
            {% else %}
                {{ programPage.text|raw }}
            {% endif %}
        </div>
    </section>
    {% endif %}
    <!--END program-->

    {% if event.activeAndFuture %}
        {% render controller('ApplicationDefaultBundle:Event:getEventCosts', {'event':event}) %}
    {% endif %}

    {% render controller('ApplicationDefaultBundle:Event:eventPartners', {'event':event}) %}

    {% include '@ApplicationDefault/Redesign/Event/event.speakers_committee.html.twig' with {'event':event} %}

    <!--BEGIN location-->
    <section id="location-event" class="location">
        <div class="container container--sm">
            <h2 class="h2 location__title">{{ 'event.page.venue'|trans }}</h2>
            <div class="location__description">
                {{ event.city }}, {{ event.place }}
            </div>
            {% if venuePage %}
                <a href="{{ path('show_event_venue_page', {'eventSlug': event.slug }) }}" class="location__help">{{ 'event.page.venue_how'|trans }}</a>
            {% endif %}
        </div>
        <div class="container">
            <div id="map" data-event="{{ event.slug }}" class="location__map"></div>
        </div>
    </section>
    <!--END location-->

    <button class="btn-up" style="background-color: {{ event.backgroundColor }};"></button>
{% endblock content %}<commit_msg>add event receive payments check<commit_after>{% extends 'ApplicationDefaultBundle:Redesign:layout.html.twig' %}

{% block title %}{% if event.name is not null %}{{ event.name }}{% else %}{{ parent() }}{% endif %}{% endblock title %}

{% block meta_description %}
    {% if event.metaDescription is not null %}
    <meta name="description" content="{{ event.metaDescription }}">
    {% else %}
    {{ parent() }}
    {% endif %}
{% endblock meta_description %}

{% block body_class %}
{% if event.smallEvent %}
<body class="short-event">
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}

{% block content %}
    {% include 'ApplicationDefaultBundle:Redesign/Event:event.header.html.twig' with {
    'event':event,
    'programPage':programPage,
    'venuePage':venuePage,
    'pages':pages,
    'position':'event',
    'eventCurrentAmount':eventCurrentAmount
    } %}
    <!--BEGIN event-description-->
    <section class="event-description">
        <div class="container container--sm">
            <div class="event-description__text static-styles">
            {{ event.about|raw }}
            </div>
        </div>
    </section>
    <!--END event-description-->
    <!--BEGIN speakers-->
    {% include 'ApplicationDefaultBundle:Redesign/Event:event.speakers.html.twig' with {'event':event} %}
    <!--END speakers-->
    <!--BEGIN program-->
    {% if programPage %}
    <section id="program-event" class="schedule">
        <div class="container schedule__container">
            <h2 class="h2 schedule__title">{{ 'event.page.program'|trans }}</h2>
            {% if programPage.textNew is not empty %}
                {{ programPage.textNew|raw }}
            {% else %}
                {{ programPage.text|raw }}
            {% endif %}
        </div>
    </section>
    {% endif %}
    <!--END program-->

    {% if event.activeAndFuture and event.receivePayments %}
        {% render controller('ApplicationDefaultBundle:Event:getEventCosts', {'event':event}) %}
    {% endif %}

    {% render controller('ApplicationDefaultBundle:Event:eventPartners', {'event':event}) %}

    {% include '@ApplicationDefault/Redesign/Event/event.speakers_committee.html.twig' with {'event':event} %}

    <!--BEGIN location-->
    <section id="location-event" class="location">
        <div class="container container--sm">
            <h2 class="h2 location__title">{{ 'event.page.venue'|trans }}</h2>
            <div class="location__description">
                {{ event.city }}, {{ event.place }}
            </div>
            {% if venuePage %}
                <a href="{{ path('show_event_venue_page', {'eventSlug': event.slug }) }}" class="location__help">{{ 'event.page.venue_how'|trans }}</a>
            {% endif %}
        </div>
        <div class="container">
            <div id="map" data-event="{{ event.slug }}" class="location__map"></div>
        </div>
    </section>
    <!--END location-->

    <button class="btn-up" style="background-color: {{ event.backgroundColor }};"></button>
{% endblock content %}
{'fraction_non_alphanumeric': 0.18391759428476492, 'fraction_numerical': 0.001993686658913441, 'mean_word_length': 2.8053097345132745, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1467851', 'n_tokens_mistral': 1834, 'n_tokens_neox': 1684, 'n_words': 340}