<commit_before>{#

This file is part of the Sonata package.

(c) <NAME> <<EMAIL>>

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.

#}

{% extends 'SonataAdminBundle:CRUD:base_show.html.twig' %}

{% block show %}
    <div class="sonata-ba-view">
        {{ sonata_block_render_event('sonata.admin.show.top', { 'admin': admin, 'object': object }) }}

        {% for name, view_group in admin.showgroups %}
            
            {% if view_group.css_column is defined %}
                <div class="{{ view_group.css_column }}">
            {% endif %}
            
            <table class="table table-bordered 
                {% if view_group.css_column is not defined %}clear-both{% endif %}
                {% if view_group.css_table is defined %}{{ view_group.css_table }}{% endif %}
                {% if view_group.collapsed == true %}collapsed-table{% endif %}">
                {% if name and name != '-' %}
                    <tr class="sonata-ba-view-title">
                        <td colspan="2">
                                {% if view_group.collapsed == true %}<span class="opener">{% endif %}
                            {{ admin.trans(name) }}
                                {% if view_group.collapsed == true %}</span>{% endif %}
                        </td>
                    </tr>
                {% endif %}

                {% for field_name in view_group.fields %}
                    <tr class="sonata-ba-view-container">
                        {% if elements[field_name] is defined %}
                            {{ elements[field_name]|render_view_element(object) }}
                        {% endif %}
                    </tr>
                {% endfor %}
            </table>
            
            {% if view_group.css_column is defined %}
                </div>
            {% endif %}
            <commit_msg>nascondi titolo se contiene solo trattini in show<commit_after>{#

This file is part of the Sonata package.

(c) <NAME> <<EMAIL>>

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.

#}

{% extends 'SonataAdminBundle:CRUD:base_show.html.twig' %}

{% block show %}
    <div class="sonata-ba-view">
        {{ sonata_block_render_event('sonata.admin.show.top', { 'admin': admin, 'object': object }) }}

        {% for name, view_group in admin.showgroups %}
            
            {% if view_group.css_column is defined %}
                <div class="{{ view_group.css_column }}">
            {% endif %}
            
            <table class="table table-bordered 
                {% if view_group.css_column is not defined %}clear-both{% endif %}
                {% if view_group.css_table is defined %}{{ view_group.css_table }}{% endif %}
                {% if view_group.collapsed == true %}collapsed-table{% endif %}">
                {% if name and name matches '/^(?!-+$).*/' %}
                    <tr class="sonata-ba-view-title">
                        <td colspan="2">
                                {% if view_group.collapsed == true %}<span class="opener">{% endif %}
                            {{ admin.trans(name) }}
                                {% if view_group.collapsed == true %}</span>{% endif %}
                        </td>
                    </tr>
                {% endif %}

                {% for field_name in view_group.fields %}
                    <tr class="sonata-ba-view-container">
                        {% if elements[field_name] is defined %}
                            {{ elements[field_name]|render_view_element(object) }}
                        {% endif %}
                    </tr>
                {% endfor %}
            </table>
            
            {% if view_group.css_column is defined %}
                </div>
            {% endif %}
            
{'fraction_non_alphanumeric': 0.1301790281329923, 'fraction_numerical': 0.0005115089514066496, 'mean_word_length': 1.421671826625387, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2012491', 'n_tokens_mistral': 1140, 'n_tokens_neox': 990, 'n_words': 248}