<commit_before>{% if is_granted('ROLE_SUPER_ADMIN') %}
    <div class="row-fluid">
        <div class="span12">
            <a href="{{ path('table_viewTableTypeList')}}" class="add-table-but">
                {% trans %}main.tableMap.tableList.addTable{% endtrans %}
            </a>
        </div>    
    </div>
{% endif %}
{% for tableType in tableTypeList %}  
    <div class="row-fluid">
        <div class="span4">
            {% if tableType.file is not null %}
                <img tabletypeid="{{tableType.id}}" class="table-type-draggable" src="{{baseUrl}}{{ vich_uploader_asset(tableType, 'file') }}" alt="{{ tableType.peopleCount }}" />
            {% endif %}
        </div>
        <div class="span6">
            {% trans %}main.tableMap.tableList.tableOn{% endtrans %} {{ tableType.peopleCount }}
        </div>
    </div>
{% endfor %}
<script>
    
    $(function() {
        
        $(".table-type-draggable").draggable({
            helper: "clone",
            cursor: 'move'
        });
    });    
</script><commit_msg>do not show table with people cont 0<commit_after>{% if is_granted('ROLE_SUPER_ADMIN') %}
    <div class="row-fluid">
        <div class="span12">
            <a href="{{ path('table_viewTableTypeList')}}" class="add-table-but">
                {% trans %}main.tableMap.tableList.addTable{% endtrans %}
            </a>
        </div>    
    </div>
{% endif %}
{% for tableType in tableTypeList %}  
    {% if tableType.peopleCount !=0 %}
        <div class="row-fluid">
            <div class="span4">
                {% if tableType.file is not null %}
                    <img tabletypeid="{{tableType.id}}" class="table-type-draggable" src="{{baseUrl}}{{ vich_uploader_asset(tableType, 'file') }}" alt="{{ tableType.peopleCount }}" />
                {% endif %}
            </div>
            <div class="span6">
                {% trans %}main.tableMap.tableList.tableOn{% endtrans %} {{ tableType.peopleCount }}
            </div>
        </div>
    {% endif %}
{% endfor %}
<script>
    
    $(function() {
        
        $(".table-type-draggable").draggable({
            helper: "clone",
            cursor: 'move'
        });
    });    
</script>
{'fraction_non_alphanumeric': 0.18284936479128858, 'fraction_numerical': 0.004537205081669692, 'mean_word_length': 1.9918588873812755, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '6039165', 'n_tokens_mistral': 727, 'n_tokens_neox': 665, 'n_words': 126}