{% extends "base.html" %} {% load scoped_tags %} {% block title %}Templates{% endblock %} {% block page_title %}Service Templates{% endblock %} {% block page_subtitle %}Reusable blueprints for creating services (Extension A7){% endblock %} {% block layer_indicator %}A7 Templates{% endblock %} {% block content %}
{{ templates|length }} template{{ templates|length|pluralize }} available
{% if templates %}
{% for tpl in templates %}

{{ tpl.name }}

{% if tpl.object_type %} {{ tpl.object_type }} {% endif %}
{{ tpl.id|truncate_id }}
{% if tpl.description %}

{{ tpl.description|truncatewords:20 }}

{% endif %} {# Schema Preview #} {% if tpl.schema_preview and tpl.schema_preview != "{}" %}

Schema

{{ tpl.schema_preview }}
{% endif %}
{{ tpl.created_at|format_dt }}
{% csrf_token %}
{% endfor %}
{% else %} {% include "components/_empty_state.html" with title="No templates" message="No service templates have been created yet. Templates provide reusable blueprints with pre-defined schemas for fast service creation." %} {% endif %} {% endblock %}