{% extends '::baseAjax.html.twig' %} {% block ajax_body %}
{# #} {% if pagination is defined and pagination.items|length > 0 %} {% for item in pagination.items %} {# #} {% if item.description != "" %} {% else %} {% endif %} {% endfor %} {% else %} {% endif %}
{{ "email.template.list.sr_no" | trans }}{{ "email.template.list.name" | trans }} {{ "email.template.list.description" | trans }} {{ "email.template.list.created_date" | trans }} {{ "email.template.list.status" | trans }} {{ "email.template.list.action" | trans }}
{{ loop.index }}{{ item.name }}{{ item.description }} - {{ item.createdAt?(item.createdAt|dateFormat(ob_project_date_format)):'-' }} {% if(item.status==1) %} {% else %} {% endif %} {% if (ob_project_site_management_access_rule.email.option.template.status == 1) and (ob_project_site_management_access_rule.email.option.template.option.template_preview.status == 1) %} {% endif %} {% if (ob_project_site_management_access_rule.email.option.template.status == 1) and (ob_project_site_management_access_rule.email.option.template.option.template_edit.status == 1) %} {% endif %} {% if (ob_project_site_management_access_rule.email.option.template.status == 1) and (ob_project_site_management_access_rule.email.option.template.option.template_delete.status == 1) %} {% endif %}
{{ office_brain_pagination_render('1', 'search_template', pagination) }}{#{ knp_pagination_render(pagination, 'OfficeBrainPageBundle:AdminUIElements:admin_table_pagination_ajax.html.twig') }#} {{ "email.template.list.records" | trans }}:({{ pagination.getTotalItemCount }})
{{ "email.template.list.no_records" | trans }}
{% endblock ajax_body %}