<commit_before>{% extends 'base.html.twig' %}
{# modifications HEAD #}
{% block title %} Detail du prestataire - Annuaire Wellness {% endblock %}
{# fin modifications HEAD #}
{% block document_title %}
{% endblock %}
{% block body %}
    <div class="container">
        <div class="row detail-content">
            <div class="col-sm-7">
                {% if prestataire.photos is not empty %}
                    <div class="detail-gallery">
                        <div class="detail-gallery-preview">
                            <a href="assets/img/tmp/gallery-1.jpg">
                                <img src="{{ prestataire.photos.first().url }}">
                            </a>
                        </div>

                        <ul class="detail-gallery-index">
                            {% for photo in prestataire.photos %}
                                <li class="detail-gallery-list-item active">
                                    <a data-target="{{ photo.url }}">
                                        <img src="{{ photo.url }}" alt="...">
                                    </a>
                                </li>
                            {% endfor %}

                        </ul>
                    </div><!-- /.detail-gallery -->
                {% endif %}
                {% if prestataire.localite is not empty %}
                    <div>
                        <iframe width="600" height="450" frameborder="0" style="border:0"
                                src="https://www.google.com/maps/embed/v1/search?q={{ prestataire.localite.commune }}%20Belgium&key=<KEY>"
                                allowfullscreen></iframe>
                    </div>
                {% endif %}

                {{ render(controller("AppBundle:Profile/Comment:viewCommentPrestataire", { 'id': prestataire.id, 'class':'menu' })) }}
                {{ render(controller("AppBundle:Profile/Comment:create", { 'prestataire': prestataire, 'request': request})) }}
            </div>
            <div class="col-sm-5">
                <h2>Tout sur <span class="text-secondary"> {{ prestataire.username }} </span></h2>
                <div class="background-white p20">
                    <div class="detail-vcard">
                        <div class="detail-logo">
                            {% if prestataire.logos is not empty %}
                                <img src="{{ prestataire.logos.last().url }}">
                            {% else %}
                                <img src="{{ asset('assets/img/tmp/no-photo.jpg') }}">
                            {% endif %}

                        </div><!-- /.detail-logo -->

                        <div class="detail-contact">
                            <div class="detail-contact-email">
                                <i class="fa fa-envelope-o"></i> <a
                                        href="{{ prestataire.email }}">{{ prestataire.email }}</a>
                            </div>
                            <div class="detail-contact-phone">
                                <i class="fa fa-mobile-phone"></i> <a href="tel:#">{{ prestataire.tel }}</a>
                            </div>
                            <div class="detail-contact-website">
                                <i class="fa fa-globe"></i> <a href="#">{{ prestataire.siteWeb }}</a>
                            </div>
                            <div class="detail-contact-address">
                                <i class="fa fa-map-o"></i>
                                {% if prestataire.localite is not empty %}
                                    {{ prestataire.adresseRue }}
                                    {{ prestataire. adresseNum }}
                                    <br/> {{ prestataire.localite.codePostal }} {{ prestataire.localite }}
                                    <br/> ({{ prestataire.localite.commune }})
                                {% else %}
                                    Adresse Inconnue
                                {% endif %}

                            </div>
                        </div><!-- /.detail-contact -->


                        <div class="detail-description">

                        </div>
                    </div><!-- /.detail-vcard -->
                    <div class="detail-follow">
                        <h5>Reseaux Sociaux:</h5>
                        <div class="follow-wrapper">
                            <a class="follow-btn facebook" href="#"><i class="fa fa-facebook"></i></a>
                            <a class="follow-btn youtube" href="#"><i class="fa fa-youtube"></i></a>
                            <a class="follow-btn twitter" href="#"><i class="fa fa-twitter"></i></a>
                            <a class="follow-btn tripadvisor" href="#"><i class="fa fa-tripadvisor"></i></a>
                            <a class="follow-btn google-plus" href="#"><i class="fa fa-google-plus"></i></a>
                        </div><!-- /.follow-wrapper -->
                    </div><!-- /.detail-follow -->
                </div>
                <div class="sidebar">

                    <div class="background-white p20" style="margin-top: 1em">
                        <div class="widget">
                            {% if promos is not empty %}
                                <h2>Promo !</h2><commit_msg>contacter un prestataire<commit_after>{% extends 'base.html.twig' %}
{# modifications HEAD #}
{% block title %} Detail du prestataire - Annuaire Wellness {% endblock %}
{# fin modifications HEAD #}
{% block document_title %}
{% endblock %}
{% block body %}
    <div class="container">
        <div class="row detail-content">
            <div class="col-sm-7">
                {% if prestataire.photos is not empty %}
                    <div class="detail-gallery">
                        <div class="detail-gallery-preview">
                            <a href="assets/img/tmp/gallery-1.jpg">
                                <img src="{{ prestataire.photos.first().url }}">
                            </a>
                        </div>

                        <ul class="detail-gallery-index">
                            {% for photo in prestataire.photos %}
                                <li class="detail-gallery-list-item active">
                                    <a data-target="{{ photo.url }}">
                                        <img src="{{ photo.url }}" alt="...">
                                    </a>
                                </li>
                            {% endfor %}

                        </ul>
                    </div><!-- /.detail-gallery -->
                {% endif %}
                {% if prestataire.localite is not empty %}
                    <div>
                        <iframe width="600" height="450" frameborder="0" style="border:0"
                                src="https://www.google.com/maps/embed/v1/search?q={{ prestataire.localite.commune }}%20Belgium&key=<KEY>"
                                allowfullscreen></iframe>
                    </div>
                {% endif %}

                {{ render(controller("AppBundle:Profile/Comment:viewCommentPrestataire", { 'id': prestataire.id, 'class':'menu' })) }}
                {% if is_granted('ROLE_PRESTATAIRE') == false %}
                    {{ render(controller("AppBundle:Profile/Comment:create", { 'prestataire': prestataire, 'request': request})) }}
                {% endif %}
            </div>
            <div class="col-sm-5">
                <h2>Tout sur <span class="text-secondary"> {{ prestataire.username }} </span></h2>
                <div class="background-white p20">
                    <div class="detail-vcard">
                        <div class="detail-logo">
                            {% if prestataire.logos is not empty %}
                                <img src="{{ prestataire.logos.last().url }}">
                            {% else %}
                                <img src="{{ asset('assets/img/tmp/no-photo.jpg') }}">
                            {% endif %}


                        </div><!-- /.detail-logo -->


                        <div class="detail-contact">
                            <div class="detail-contact-email">
                                <i class="fa fa-envelope-o"></i> <a
                                        href="{{ prestataire.email }}">{{ prestataire.email }}</a>
                            </div>
                            <div class="detail-contact-phone">
                                <i class="fa fa-mobile-phone"></i> <a href="tel:#">{{ prestataire.tel }}</a>
                            </div>
                            <div class="detail-contact-website">
                                <i class="fa fa-globe"></i> <a href="#">{{ prestataire.siteWeb }}</a>
                            </div>
                            <div class="detail-contact-address">
                                <i class="fa fa-map-o"></i>
                                {% if prestataire.localite is not empty %}
                                    {{ prestataire.adresseRue }}
                                    {{ prestataire. adresseNum }}
                                    <br/> {{ prestataire.localite.codePostal }} {{ prestataire.localite }}
                                    <br/> ({{ prestataire.localite.commune }})
                                {% else %}
                                    Adresse Inconnue
                                {% endif %}

                            </div>

                        </div><!-- /.detail-contact -->

                        <div class="detail-description">

                        </div>

                    </div><!-- /.detail-vcard -->
                    <div class="detail-follow">
                        <h5>Reseaux Sociaux:</h5>
                        <div class="follow-wrapper">
                            <a class="follow-btn facebook" href="#"><i class="fa fa-facebook"></i></a>
                            <a class="follow-btn youtube" href="#"><i class="fa fa-youtube"></i></a>
                            <a class="follow-btn twitter" href="#"><i class="fa fa-twitter"></i></a>
                            <a class="follow-btn tripadvisor" href="#"><i class="fa fa-tripadvisor"></i></a>
                            <a class="follow-btn google-plus" href="#"><i class="fa fa-google-plus"></i></a>
                        </div><!-- /.follow-wrapper -->
                    </div><!-- /.detail-follow -->
                    {% if is_granted('ROLE_PRESTATAIRE') == false %}
                        <a class="btn btn-xs btn-primary"
                           href="{{ path('prestataire_contact', {'slug':prestataire.slug}) }}">Contacter</a>
                    {% endif %}
                </div>
                <div class="sidebar">

                    <div class="background-white p20" style="margin-top: 1em">
                        <div class="widget">
                            {% if promos is not empty %}
                                <h2>Promo !</h2>
{'fraction_non_alphanumeric': 0.14902243445355437, 'fraction_numerical': 0.004504910352283989, 'mean_word_length': 1.0214897104352576, 'pattern_counts': {'":': 0, '<': 207, '<?xml version=': 0, '>': 207, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 38, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1464014', 'n_tokens_mistral': 2906, 'n_tokens_neox': 2609, 'n_words': 505}