File "assessmentbyassessor.html"

Full Path: /home/humancap/cl.humancap.com.my/admin/templates/single-record-views/assessmentbyassessor.html
File size: 2.27 KB
MIME-type: text/html
Charset: utf-8

<div class="modal-header text-bg-info">
    <p class="modal-title h1 mb-0 fs-5">{{ object.item_label }}</p>
    <button type="button" class="btn-close modal-close" aria-label="{{ constant('CLOSE') }}"></button>
</div>
<div class="modal-body">
    <div id="single-record-debug-content">{{ object.debug_content|raw }}</div>
    {# Partial block print_view - rendered alone on the print view #}
    {% block print_view %}
    {% if object.records_count > 0 %}
    <table id="single-record-export-table" class="table table-sm table-borderless">
        <thead>
            <tr>
                <th></th>
                <td></td>
            </tr>
        </thead>
        <tbody>
            {% for i in range(0, object.records_count - 1) %}
                        <tr>
                <th>id</th>
                <td>{{ object.id[ loop.index0 ]|replace({'[|]': ' '}) }}</td>
            </tr>
                        <tr>
                <th>for_candidate_name</th>
                <td>{{ object.for_candidate_name[ loop.index0 ]|replace({'[|]': ' '}) }}</td>
            </tr>
                        <tr>
                <th>assessment_id</th>
                <td>{{ object.assessment_id[ loop.index0 ]|replace({'[|]': ' '}) }}</td>
            </tr>
                        <tr>
                <th>name</th>
                <td>{{ object.name[ loop.index0 ]|replace({'[|]': ' '}) }}</td>
            </tr>
                        <tr>
                <th>email</th>
                <td>{{ object.email[ loop.index0 ]|replace({'[|]': ' '}) }}</td>
            </tr>
                        <tr>
                <th>self_or_ext</th>
                <td>{{ object.self_or_ext[ loop.index0 ]|replace({'[|]': ' '}) }}</td>
            </tr>
                        {% endfor %}
        </tbody>
    </table>
    {% endif %}

    {% endblock print_view %}
    {# END Partial block print_view - rendered alone on the print view #}
</div>
<div class="modal-footer">
    <a href="{{ constant('ADMIN_URL') }}{{ object.item }}/print-view/{{ object.pk_url_params[0] }}" class="btn btn-primary" target="_blank" rel="nofollow">{{ constant('EXPORT') }} / {{ constant('PRINT') }}</a>
    <button type="button" class="btn btn-light modal-close">{{ constant('CLOSE') }} <i class="{{ constant('ICON_CANCEL') }} append"></i></button>
</div>