{% extends "base.html" %} {% load static %} {% load tailwind_forms %} {% block title %}Messaging Service · {{ project.name }} · {{ site_title }}{% endblock %} {% block content %}
{% csrf_token %} {% if messages %}
    {% for message in messages %} {# if we introduce different levels we can use{% message.level == DEFAULT_MESSAGE_LEVELS.SUCCESS %} #}
  • {{ message }}
  • {% endfor %}
{% endif %}

Messaging Service | {{ project.name }}

{% if service_config.has_recent_failure %}

{# Nudge the icon down by 1px to align visually with the text baseline (it's heavy in the bottom, light on top) #} Most Recent Message has Failed

Last failure: {{ service_config.last_failure_timestamp|date:"F j, Y, g:i A" }}

Error type: {{ service_config.last_failure_error_type }}

{% if service_config.last_failure_status_code %}

HTTP Status: {{ service_config.last_failure_status_code }}

{% endif %}

Error message: {{ service_config.last_failure_error_message }}

{% if service_config.last_failure_response_text %}

Response{% if service_config.last_failure_is_json %} (JSON){% endif %}:

{{ service_config.last_failure_response_text }}
{% endif %}
{% endif %} {% for field in form %} {% tailwind_formfield field %} {% endfor %} {% for field in config_form %} {% tailwind_formfield field %} {% endfor %} Cancel
{% endblock %}