<commit_before>{% macro is_current_route(route) %}
    {%- if app.request.attributes.get('_route') == route -%}
        {{- 'class="active"' -}}
    {%- endif -%}
{% endmacro %}

{% import _self as croute %}

<!DOCTYPE html>
<html lang="ru">

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>
        {% block title %}
            Титимити - p2p сервис доставки
        {% endblock %}
    </title>

    {% block stylesheets %}
        <link href="{{ asset('bundles/binidiniweb/css/bootstrap.min.css') }}" rel="stylesheet">
        <link href="{{ asset('bundles/binidiniweb/font-awesome/css/font-awesome.css') }}" rel="stylesheet">
        <link href="{{ asset('bundles/binidiniweb/css/animate.css') }}" rel="stylesheet">
        <link href="{{ asset('bundles/binidiniweb/css/style.css') }}" rel="stylesheet">
        <link href="{{ asset('bundles/binidiniweb/css/main.css') }}" rel="stylesheet">
    {% endblock %}

    {% block js %}{% endblock %}

    <link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
</head>

<body class="body-small">
<div id="wrapper">
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element">
                        <img alt="image" class="img-circle" src="{{ app.user.imgPath|imagine_filter('photo48x48') }}"/>
                        <a href="{{ path('fos_user_profile_show') }}">
                            <span class="clear">
                                <span class="block m-t-xs"> <strong
                                            class="font-bold">{{ app.user.name }}</strong></span>
                            </span>
                            <span class="text-muted text-xs block">
                                Счет:
                                {{ app.user.balance }}{% if app.user.holdAmount > 0 %}/{{ app.user.holdAmount }}{% endif %}
                                руб.

                            </span>
                        </a>
                    </div>
                    <div class="logo-element">
                        bd
                    </div>
                </li>
                <li {{ croute.is_current_route('fos_user_profile_show') }}>
                    <a href="{{ path('fos_user_profile_show') }}"><i class="fa fa-user"></i> <span class="nav-label">Моя страница</span></a>
                </li>
                <li {{ croute.is_current_route('binidini_search_shipment_index') }}>
                    <a class="count-info" href="{{ path('binidini_search_shipment_index') }}">
                        <i class="fa fa-map-marker"></i>
                        <span class="nav-label">
                            Заказы
                            {% render path('binidini_search_shipment_count') %}
                        </span>
                    </a>
                </li>
                {% if app.user.isCarrier %}
                <li {{ croute.is_current_route('binidini_core_carrier_index') }}>
                    <a href="{{ path('binidini_core_carrier_index', {'paginate': app.request.get('paginate'), 'state': ''}) }}"><i class="fa fa-truck"></i> <span class="nav-label">Мои перевозки</span></a>
                </li>
                {% endif %}
                {% if app.user.isSender %}
                <li {{ croute.is_current_route('binidini_core_shipping_index') }}>
                    <a href="{{ path('binidini_core_shipping_index', {'paginate': app.request.get('paginate'), 'state': ''}) }}"><i class="fa fa-archive"></i> <span class="nav-label">Мои отправки</span></a>
                </li>
                {% endif %}
                <li {{ croute.is_current_route('binidini_core_payment_index') }}>
                    <a href="{{ path('binidini_core_payment_index') }}"><i class="fa fa-rub"></i> <span class="nav-label">Мои финансы</span> </a>
                </li>
                <li {{ croute.is_current_route('fos_user_profile_edit') }}>
                    <a href="{{ path('fos_user_profile_edit') }}"><i class="fa fa-gears"></i> <span class="nav-label">Мои настройки</span> </a>
                </li>

            </ul>

        </div>
    </nav>

    <div id="page-wrapper" class="gray-bg">
        <div class="row border-bottom">
            <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                <div class="navbar-header">
                    <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
                    <form role="search" class="navbar-form-custom" method="get" action="{{ path('binidini_search_shipment_search') }}">
                        <div class="form-group">
                            <input type="text" placeholder="Поиск заказа по адресу" class="form-control" name="top-search" id="top-search">
                        </div>
                    </form>
                </div>
                <ul class="nav navbar-top-links navbar-right">
                    <li>
                        {% if is_granted('ROLE_ADMIN') %}
                            <a href="{{ path('binidini_admin_shipping') }}">Администрирование</a>
                        {% else %}
                            <span class="m-r-sm text-muted welcome-message">Титимити 24/7</span>
                        {% endif %}

                    </li>
                    {% render path('binidini_user_bids_accepted') %}
                    {% render path('binidini_sender_bids_new') %}
                    <li>
                        <a href="{{ path("fos_user_security_logout") }}">
                            <i class="fa fa-sign-out"></i> Выход
                        </a>
                    </li>
                </ul>

            </nav>
        </div>

        {% block pagetitle %}
            <div class="row wrapper border-bottom white-bg page-heading" >
                <div class="col-sm-6" id="flashback">
                    <h2>{% block pageheader %}{% endblock %}</h2>
                    {% block breadcrumb %}{% endblock %}
                    {% block flashes %}
                        {% for type, messages in app.session.flashbag.all() %}
                            {% for message in messages %}
                                <div class="text-{{ type }}"><commit_msg>block meta added<commit_after>{% macro is_current_route(route) %}
    {%- if app.request.attributes.get('_route') == route -%}
        {{- 'class="active"' -}}
    {%- endif -%}
{% endmacro %}

{% import _self as croute %}

<!DOCTYPE html>
<html lang="ru" >

<head>

    {% block meta %}
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
    {% endblock %}

    <title>
        {% block title %}
            Титимити - народный сервис доставки
        {% endblock %}
    </title>

    {% block stylesheets %}
        <link href="{{ asset('bundles/binidiniweb/css/bootstrap.min.css') }}" rel="stylesheet">
        <link href="{{ asset('bundles/binidiniweb/font-awesome/css/font-awesome.css') }}" rel="stylesheet">
        <link href="{{ asset('bundles/binidiniweb/css/animate.css') }}" rel="stylesheet">
        <link href="{{ asset('bundles/binidiniweb/css/style.css') }}" rel="stylesheet">
        <link href="{{ asset('bundles/binidiniweb/css/main.css') }}" rel="stylesheet">
    {% endblock %}

    {% block js %}{% endblock %}

    <link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
    <link rel="image_src" href="http://tytymyty.ru/logo.png"/>

</head>

<body class="body-small">
<div id="wrapper">
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element">
                        <img alt="image" class="img-circle" src="{{ app.user.imgPath|imagine_filter('photo48x48') }}"/>
                        <a href="{{ path('fos_user_profile_show') }}">
                            <span class="clear">
                                <span class="block m-t-xs"> <strong
                                            class="font-bold">{{ app.user.name }}</strong></span>
                            </span>
                            <span class="text-muted text-xs block">
                                Счет:
                                {{ app.user.balance }}{% if app.user.holdAmount > 0 %}/{{ app.user.holdAmount }}{% endif %}
                                руб.

                            </span>
                        </a>
                    </div>
                    <div class="logo-element">
                        &#165;
                    </div>
                </li>
                <li {{ croute.is_current_route('fos_user_profile_show') }}>
                    <a href="{{ path('fos_user_profile_show') }}"><i class="fa fa-user"></i> <span class="nav-label">Моя страница</span></a>
                </li>
                <li {{ croute.is_current_route('binidini_search_shipment_index') }}>
                    <a class="count-info" href="{{ path('binidini_search_shipment_index') }}">
                        <i class="fa fa-map-marker"></i>
                        <span class="nav-label">
                            Заказы
                            {% render path('binidini_search_shipment_count') %}
                        </span>
                    </a>
                </li>
                {% if app.user.isCarrier %}
                <li {{ croute.is_current_route('binidini_core_carrier_index') }}>
                    <a href="{{ path('binidini_core_carrier_index', {'paginate': app.request.get('paginate'), 'state': ''}) }}"><i class="fa fa-truck"></i> <span class="nav-label">Мои перевозки</span></a>
                </li>
                {% endif %}
                {% if app.user.isSender %}
                <li {{ croute.is_current_route('binidini_core_shipping_index') }}>
                    <a href="{{ path('binidini_core_shipping_index', {'paginate': app.request.get('paginate'), 'state': ''}) }}"><i class="fa fa-archive"></i> <span class="nav-label">Мои отправки</span></a>
                </li>
                {% endif %}
                <li {{ croute.is_current_route('binidini_core_payment_index') }}>
                    <a href="{{ path('binidini_core_payment_index') }}"><i class="fa fa-rub"></i> <span class="nav-label">Мои финансы</span> </a>
                </li>
                <li {{ croute.is_current_route('fos_user_profile_edit') }}>
                    <a href="{{ path('fos_user_profile_edit') }}"><i class="fa fa-gears"></i> <span class="nav-label">Мои настройки</span> </a>
                </li>

            </ul>

        </div>
    </nav>

    <div id="page-wrapper" class="gray-bg">
        <div class="row border-bottom">
            <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                <div class="navbar-header">
                    <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
                    <form role="search" class="navbar-form-custom" method="get" action="{{ path('binidini_search_shipment_search') }}">
                        <div class="form-group">
                            <input type="text" placeholder="Поиск заказа по адресу" class="form-control" name="top-search" id="top-search">
                        </div>
                    </form>
                </div>
                <ul class="nav navbar-top-links navbar-right">
                    <li>
                        {% if is_granted('ROLE_ADMIN') %}
                            <a href="{{ path('binidini_admin_shipping') }}">Администрирование</a>
                        {% else %}
                            <span class="m-r-sm text-muted welcome-message"><img src="{{ asset('bundles/binidiniweb/img/logo.png') }}"/></span>
                        {% endif %}

                    </li>
                    {% render path('binidini_user_bids_accepted') %}
                    {% render path('binidini_sender_bids_new') %}
                    <li>
                        <a href="{{ path("fos_user_security_logout") }}">
                            <i class="fa fa-sign-out"></i> Выход
                        </a>
                    </li>
                </ul>

            </nav>
        </div>

        {% block pagetitle %}
            <div class="row wrapper border-bottom white-bg page-heading" >
                <div class="col-sm-6" id="flashback">
                    <h2>{% block pageheader %}{% endblock %}</h2>
                    {% block breadcrumb %}{% endblock %}
                    {% block flashes %}
                        {% for type, messages in app.session.flashbag.all() %}
                            {% for message in messages %}
                                <div class="text-{{ type }}">
{'fraction_non_alphanumeric': 0.16808575338300136, 'fraction_numerical': 0.0025087425878059905, 'mean_word_length': 1.5578456153995723, 'pattern_counts': {'":': 0, '<': 249, '<?xml version=': 0, '>': 251, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1885691', 'n_tokens_mistral': 3990, 'n_tokens_neox': 3712, 'n_words': 664}