{% extends "layout.html" %}

{% block content_header %}
  {{ build_breadcrumbs([
    { 'name': _('SIP Templates'), 'link': url_for('.EndpointSIPTemplateView:index'), 'icon': 'compress' }
  ]) }}
{% endblock %}

{% block content %}
  <section class="content">
    {% call build_list_containers(_('SIP Templates'), 'compress') %}
      {% call build_list_table() %}
        {% call build_list_table_headers(get=url_for('.EndpointSIPTemplateView:get', id=''), delete=url_for('.EndpointSIPTemplateView:delete', id=''), add=url_for('.EndpointSIPTemplateView:new')) %}
          <th>{{ _('Label') }}</th>
        {% endcall %}
        {% call(template) build_list_table_rows(resource_list['items']) %}
          <td>{{ template.label }}</td>
        {% endcall %}
      {% endcall %}
    {% endcall %}
  </section>
{% endblock %}
