{% extends '::baseAjax.html.twig' %} {% block ajax_body %} {% block master_event_list %}
{% if pagination is defined and pagination.items|length > 0 %} {% set i=1%} {% for item in pagination.items %} {% if i == 1 %} {% set classIn = "in" %} {% else %} {% set classIn = "" %} {% endif %}

{{ item.name }}
{% if (ob_project_site_management_access_rule.email.option.event.status == 1) %} {% endif %} {% if (ob_project_site_management_access_rule.email.option.event.status == 1) and (ob_project_site_management_access_rule.email.option.event.option.event_edit.status == 1) %} {% endif %} {% if (ob_project_site_management_access_rule.email.option.event.status == 1) and (ob_project_site_management_access_rule.email.option.event.option.event_delete.status == 1) %} {% endif %}

{{ render(controller("OfficeBrainEmailBundle:EmailEventAdmin:listChildEvent", {'parentId':item.id,'keyword':((keyword is defined)?keyword:'')} )) }}
{% set i = i + 1 %} {% endfor %} {% else %}

{{ "email.template.list.no_records" | trans }}

{% endif %}
{% endblock master_event_list %} {% endblock ajax_body %}