{# ── Header ── #}
{% include "showcase/cabinet/includes/_page_header.html" with title="Notification Templates" subtitle="Predefined message templates sent to clients" %}
{# ── Template cards ── #}
{% for tmpl in templates %}
{{ tmpl.label }}
{{ tmpl.trigger }}
{% for ch in tmpl.channel_details %}
{{ ch.label }}
{% endfor %}
Subject
{{ tmpl.subject }}
Preview
{{ tmpl.preview }}
Preview full
{% empty %}
{% include "showcase/cabinet/includes/_empty_state.html" with icon="bi-file-earmark-x" title="No templates" subtitle="No notification templates defined yet" %}
{% endfor %}
{# ── Preview Modal ── #}
Channels
Subject
Message Body
Variables like {{ "{{" }} client_name {{ "}}" }} are replaced with real data when the notification is sent.