{% extends "layout.html" %} {% block content_header %} {{ build_breadcrumbs([ { 'name': _('Line'), 'link': url_for('.LineView:index'), 'icon': 'exchange' } ]) }} {% endblock %} {% block content %}
{% call build_list_containers(_('Lines'), 'exchange') %} {% call build_list_table() %} {% call build_list_table_headers(get=url_for('.LineView:get', id=''), delete=url_for('.LineView:delete', id='')) %} {{ _('Protocol') }} {{ _('Name') }} {{ _('Provisioning Extension') }} {{ _('Caller Id Name') }} {{ _('Caller Id Number') }} {% endcall %} {% call(line) build_list_table_rows(resource_list['items']) %} {% if line.endpoint_sip %} {{ _('SIP') }} {% elif line.endpoint_custom %} {{ _('CUSTOM') }} {% else %} - {% endif %} {% if line.endpoint_sip %} {{ line.endpoint_sip.label or '-' }} {% elif line.endpoint_custom %} {{ line.endpoint_custom.interface }} {% endif %} {{ line.provisioning_extension }} {{ line.caller_id_name }} {{ line.caller_id_num }} {% endcall %} {% endcall %} {% endcall %} {% call build_hidden_add_containers(_('Choose your protocol')) %} {% endcall %}
{% endblock %} {% block additional_js %} {% endblock %}