{% extends "base.html" %} {% load static %} {% block title %}Notification Templates - Communications{% endblock %} {% block content %}

Notification Templates

Notification Templates

{% for template in object_list %}
{{ template.template_name|truncatechars:20 }}
{{ template.get_category_display }}
{% if template.is_active %}Active{% else %}Inactive{% endif %} {{ template.get_message_type_display }}

{{ template.description|truncatechars:100|default:"No description provided" }}

Subject:

{{ template.subject_template|truncatechars:50 }}

Content Preview:
{{ template.body_template|truncatechars:120|linebreaks }}
{{ template.usage_count|default:0 }}
Used
{{ template.variables.count|default:0 }}
Variables
{{ template.languages.count|default:1 }}
Languages
{% empty %}
No templates found

Create your first notification template to get started

Create Template
{% endfor %}
{% if is_paginated %}
    {% if page_obj.has_previous %}
  • {% endif %} {% for num in page_obj.paginator.page_range %} {% if page_obj.number == num %}
  • {{ num }}
  • {% elif num > page_obj.number|add:'-3' and num < page_obj.number|add:'3' %}
  • {{ num }}
  • {% endif %} {% endfor %} {% if page_obj.has_next %}
  • {% endif %}
{% endif %}
{% endblock %} {% block js %} {% endblock %}