<commit_before>{% include 'CrewCallBundle:shiftfunction:handling.html.twig' %}
<table id="shiftTable" class="table table-bordered table-sm">
    <thead>
        <tr>
            <th>From</th>
            <th>To</th>
            <th>Amount</th>
            <th>State</th>
            <th>Actions</th>
        </tr>
    </thead>
    <tbody>
    {% for shift in shifts %}
        <tr>
            <td data-order="{{ shift.fromtime | date('U')}}" >{% if shift.fromtime %}{{ shift.fromtime|date('d M H:i') }}{% endif %}</td>
            <td data-order="{{ shift.totime | date('U')}}" >{% if shift.totime %}{{ shift.totime|date('d M H:i') }}{% endif %}</td>
            <td>
            {{ shift.totalbooked }} of {{ shift.totalneeded }} <a href="#" onClick="grabShiftFunctionList({{ shift.id }});">Show</a>
            </td>
            <td>
            {{ shift.state }}
            </td>
            <td>
                <a href="{{ path('shift_show', { 'id': shift.id }) }}">Show</a>
                <a href="{{ path('shift_edit', { 'id': shift.id }) }}">Edit</a>
            </td>
        </tr>
        <tr class="sfList">
        <td colspan="5">
        <div id="newShiftFunction">
        <a href="#" onClick="grabNewShiftFunctionForm({{shift.id}});">Add Function</a>
        </div>

        <div id="editShiftFunction">
        </div>
        <div id="sfList_{{ shift.id }}">
        </div>
        </td>
        </tr>
    {% endfor %}
    </tbody><commit_msg>List, not Show. For now..<commit_after>{% include 'CrewCallBundle:shiftfunction:handling.html.twig' %}
<table id="shiftTable" class="table table-bordered table-sm">
    <thead>
        <tr>
            <th>From</th>
            <th>To</th>
            <th>Amount</th>
            <th>State</th>
            <th>Actions</th>
        </tr>
    </thead>
    <tbody>
    {% for shift in shifts %}
        <tr>
            <td data-order="{{ shift.fromtime | date('U')}}" >{% if shift.fromtime %}{{ shift.fromtime|date('d M H:i') }}{% endif %}</td>
            <td data-order="{{ shift.totime | date('U')}}" >{% if shift.totime %}{{ shift.totime|date('d M H:i') }}{% endif %}</td>
            <td>
            {{ shift.totalbooked }} of {{ shift.totalneeded }} <a href="#" onClick="grabShiftFunctionList({{ shift.id }});">List</a>
            </td>
            <td>
            {{ shift.state }}
            </td>
            <td>
                <a href="{{ path('shift_show', { 'id': shift.id }) }}">Show</a>
                <a href="#" onClick="grabEditShiftForm({{ shift.id }});">Edit</a>
                <a href="#" onClick="grabShiftFunctionList({{ shift.id }});">Functions</a>
            </td>
        </tr>
        <tr class="sfList" id="sfList_{{ shift.id }}">
        <td colspan="5">
        <div id="newShiftFunction">
        <a href="#" onClick="grabNewShiftFunctionForm({{shift.id}});">Add Function</a>
        </div>
        <div id="editShiftFunction">
        </div>
        <div id="sfTable_{{ shift.id }}">
        </div>
        </td>
        </tr>
    {% endfor %}
    </tbody>
{'fraction_non_alphanumeric': 0.21550032701111838, 'fraction_numerical': 0.0006540222367560497, 'mean_word_length': 1.866916588566073, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, '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': '4136941', 'n_tokens_mistral': 1036, 'n_tokens_neox': 998, 'n_words': 199}