{% if object.records_count > 0 %}
{{ object.select_number_per_page|raw }}

{% endif %}
{% if object.can_create == true %} {{ constant('ADD_NEW') }} {% endif %} {% if object.records_count > 0 %} {{ object.export_data_button|raw }} {% endif %}
{% set search_value = '' %} {% if attribute(session.rp_search_string, object.table) is defined %} {% set search_value = attribute(session.rp_search_string, object.table) %} {% endif %}
{# Partial block list - rendered alone on the research results #} {% block object_list %}
{% if object.records_count > 0 %}
{% if constant('ADMIN_ACTION_BUTTONS_POSITION') == 'left' %} {% if object.can_create == true %} {% endif %} {% endif %} {% if constant('ADMIN_ACTION_BUTTONS_POSITION') == 'right' %} {% if object.can_create == true %} {% endif %} {% endif %} {% for i in range(0, object.records_count - 1) %} {% if constant('ADMIN_ACTION_BUTTONS_POSITION') == 'left' %} {% if object.can_create == true %} {% endif %} {% endif %} {% if object.external_tables_count > 0 %} {% for j in range(0, object.external_tables_count - 1) %} {% endfor %} {% endif %} {% if constant('ADMIN_ACTION_BUTTONS_POSITION') == 'right' %} {% if object.can_create == true %} {% endif %} {% endif %} {% endfor %} {% if object.can_create == true %} {% set delete_btn_class = '' %} {% if constant('ADMIN_ACTION_BUTTONS_POSITION') == 'right' %} {% set delete_btn_class = 'text-right' %} {% endif %} {% endif %}
{{ constant('ACTION_CONST') }}{{ object.fields.alb_id }} {{ object.fields.alb_name }} {{ object.fields.alb_preview_id }}{{ constant('ACTION_CONST') }}
{% if object.pk[loop.index0] in object.authorized_update_pk %} {% endif %} {% if object.can_create == true %} {% endif %}
{{ object.alb_id[ loop.index0 ] }} {% if object.pk[loop.index0] in object.authorized_update_pk %} {{ object.alb_name[ loop.index0 ] }} {% else %} {{ object.alb_name[ loop.index0 ] }} {% endif %} {% if object.pk[loop.index0] in object.authorized_update_pk %} {{ object.alb_preview_id[ loop.index0 ] }} {% else %} {{ object.alb_preview_id[ loop.index0 ] }} {% endif %} {% if object.external_rows_count[i][j] > 0 %}

{{ object.external_rows_count[i][j] }}

{{ object.external_add_btn[i][j]|raw }} {% for field, value in object.external_fields[i][j].fieldnames %} {% endfor %} {# Loop records #} {% for k in range(0, object.external_rows_count[i][j] - 1) %} {# Loop fields #} {% for field, value in object.external_fields[i][j].fields %} {% endfor %} {% endfor %}
{{ value }}
{{ object.external_fields[i][j].fields[field][k]|raw }}
{% else %} {{ object.external_add_btn[i][j]|raw }} {% endif %}
{% if object.pk[loop.index0] in object.authorized_update_pk %} {% endif %} {% if object.can_create == true %} {% endif %}
{% if object.can_create == true %} {% endif %} {% else %}

{{ alert(constant('NO_RECORD_FOUND'), 'alert-info has-icon')|raw }}

{% endif %}
{% endblock object_list %} {# END Partial block - rendered alone on the research results #}