{% call build_list_containers(_('IVR'), 'navicon') %}
{% call build_list_table() %}
{% call build_list_table_headers(get=url_for('.IvrView:get', id=''), delete=url_for('.IvrView:delete', id=''), add=url_for('.IvrView:new')) %}
{{ _('Name') }} |
{{ _('Extensions') }} |
{{ _('Menu sound') }} |
{% endcall %}
{% call(ivr) build_list_table_rows(resource_list['items']) %}
{{ ivr.name }} |
{% if not ivr.incalls %}
-
{% else %}
{{ _('incall') }}:
{% for extensions in ivr.incalls %}
{% for e in extensions.extensions %}
- {{ e.exten }}
{% endfor %}
{% endfor %}
{% endif %}
|
{{ ivr.menu_sound }} |
{% endcall %}
{% endcall %}
{% endcall %}
{% endblock %}