<commit_before>{% extends 'Log210LivraisonBundle:Restaurant:layout.html.twig' %}

{% import 'Log210CommonBundle:Macro:show.html.twig' as show %}

{% use 'Log210CommonBundle:Generic:show.html.twig' %}

{% block title parent() ~ ' - ' ~ entity %}

{% block breadcrumbs %}
    {{ parent() }}
    <li>{{ entity }}</li>
{% endblock %}

{% block fields %}
    {{ show.text(entity, 'name') }}
    {{ show.text(entity, 'description') }}
    {{ show.text(entity, 'address') }}
    {{ show.text(entity, 'phone') }}
    {{ show.relation(entity, 'restaurateur') }}
{% endblock %}

{% block actions %}
    <a class="btn btn-default glyphicon glyphicon-chevron-left" href="{{ path('restaurant') }}">{{ 'back'|trans|capitalize }}</a>
    <a 
        class="btn btn-warning glyphicon glyphicon-pencil"
        data-toggle="tooltip"
        data-placement="bottom"
        title="{{ 'edit'|trans|capitalize }}"
        href="{{ path('restaurant_edit', { 'id': entity.id }) }}">
    </a>
{% endblock %}

{% block side %}
    {% embed 'Log210CommonBundle:Generic:sidePanel.html.twig' with { title: 'plats', entity: entity } only %}
        {% block content %}
            {% embed 'Log210CommonBundle:Generic:ajaxToolbox.html.twig' with { module: 'listing', fetch: path('restaurant_api_get_all_menus', {restaurant_id: entity.id}), entity: entity } only %}
                {% block content %}
                    <div class="row">
                        <div ng-repeat="menu in menus">
                            <div class="col-lg-12">
                                <div class="card card-plat" data-href="{{ ngPath('menu_show', {id: 'menu.id'}) }}" initial>
                                    {{ 'menu.name'|ngExpr }}
                                    <div class="card-action card-action-right card-action-h">
                                        <a
                                            class="btn btn-info glyphicon glyphicon-search"
                                            data-toggle="tooltip"
                                            data-placement="bottom"
                                            data-container="body"
                                            title="{{ 'show'|trans|capitalize }}"
                                            href="{{ ngPath('plat_show', { 'id': 'menu.id' }) }}">
                                        </a>
                                        <a
                                            class="btn btn-warning glyphicon glyphicon-pencil"
                                            data-toggle="tooltip"
                                            data-placement="bottom"
                                            data-container="body"
                                            title="{{ 'edit'|trans|capitalize }}"<commit_msg>correction titre<commit_after>{% extends 'Log210LivraisonBundle:Restaurant:layout.html.twig' %}

{% import 'Log210CommonBundle:Macro:show.html.twig' as show %}

{% use 'Log210CommonBundle:Generic:show.html.twig' %}

{% block title parent() ~ ' - ' ~ entity %}

{% block breadcrumbs %}
    {{ parent() }}
    <li>{{ entity }}</li>
{% endblock %}

{% block fields %}
    {{ show.text(entity, 'name') }}
    {{ show.text(entity, 'description') }}
    {{ show.text(entity, 'address') }}
    {{ show.text(entity, 'phone') }}
    {{ show.relation(entity, 'restaurateur') }}
{% endblock %}

{% block actions %}
    <a class="btn btn-default glyphicon glyphicon-chevron-left" href="{{ path('restaurant') }}">{{ 'back'|trans|capitalize }}</a>
    <a 
        class="btn btn-warning glyphicon glyphicon-pencil"
        data-toggle="tooltip"
        data-placement="bottom"
        title="{{ 'edit'|trans|capitalize }}"
        href="{{ path('restaurant_edit', { 'id': entity.id }) }}">
    </a>
{% endblock %}

{% block side %}
    {% embed 'Log210CommonBundle:Generic:sidePanel.html.twig' with { title: 'menus', entity: entity } only %}
        {% block content %}
            {% embed 'Log210CommonBundle:Generic:ajaxToolbox.html.twig' with { module: 'listing', fetch: path('restaurant_api_get_all_menus', {restaurant_id: entity.id}), entity: entity } only %}
                {% block content %}
                    <div class="row">
                        <div ng-repeat="menu in menus">
                            <div class="col-lg-12">
                                <div class="card card-plat" data-href="{{ ngPath('menu_show', {id: 'menu.id'}) }}" initial>
                                    {{ 'menu.name'|ngExpr }}
                                    <div class="card-action card-action-right card-action-h">
                                        <a
                                            class="btn btn-info glyphicon glyphicon-search"
                                            data-toggle="tooltip"
                                            data-placement="bottom"
                                            data-container="body"
                                            title="{{ 'show'|trans|capitalize }}"
                                            href="{{ ngPath('plat_show', { 'id': 'menu.id' }) }}">
                                        </a>
                                        <a
                                            class="btn btn-warning glyphicon glyphicon-pencil"
                                            data-toggle="tooltip"
                                            data-placement="bottom"
                                            data-container="body"
                                            title="{{ 'edit'|trans|capitalize }}"
{'fraction_non_alphanumeric': 0.14687444026509044, 'fraction_numerical': 0.006089915815869604, 'mean_word_length': 1.4194107452339688, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 56, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '258929', 'n_tokens_mistral': 1477, 'n_tokens_neox': 1343, 'n_words': 263}