{% extends 'base.html' %} {% load static i18n %} {% block title %}{% trans "Notification Details" %} - ATS{% endblock %} {% block content %}

{% trans "Notification Details" %}

{% trans "View notification details and manage your preferences" %}

{{ notification.get_status_display }} {{ notification.get_notification_type_display }} {{ notification.created_at|date:"Y-m-d H:i:s" }}

{{ notification.message|linebreaksbr }}

{% if notification.status == 'PENDING' %} {% trans "Mark as Read" %} {% else %} {% trans "Mark as Unread" %} {% endif %}
{% if notification.related_meeting %}
{% trans "Related Meeting" %}

{% trans "Topic:" %} {{ notification.related_meeting.topic }}

{% trans "Start Time:" %} {{ notification.related_meeting.start_time|date:"Y-m-d H:i" }}

{% trans "Duration:" %} {{ notification.related_meeting.duration }} {% trans "minutes" %}

{% endif %} {% if notification.scheduled_for and notification.scheduled_for != notification.created_at %}
{% trans "Scheduled For" %}

{{ notification.scheduled_for|date:"Y-m-d H:i:s" }}

{% endif %} {% if notification.attempts > 1 %}
{% trans "Delivery Attempts" %}

{% blocktrans count count=notification.attempts %} This notification has been attempted {{ count }} time. {% plural %} This notification has been attempted {{ count }} times. {% endblocktrans %}

{% endif %} {% if notification.last_error %}
{% trans "Last Error" %}

{{ notification.last_error }}

{% endif %}
{% trans "Actions" %}
{% if notification.status == 'PENDING' %} {% trans "Mark as Read" %} {% else %} {% trans "Mark as Unread" %} {% endif %} {% trans "Delete" %}
{% trans "Information" %}
{% trans "Status" %} {{ notification.get_status_display }}
{% trans "Type" %} {{ notification.get_notification_type_display }}
{% trans "Created" %} {{ notification.created_at|date:"Y-m-d H:i:s" }}
{% if notification.scheduled_for %}
{% trans "Scheduled For" %} {{ notification.scheduled_for|date:"Y-m-d H:i:s" }}
{% endif %} {% if notification.attempts %}
{% trans "Delivery Attempts" %} {{ notification.attempts }}
{% endif %}
{% endblock %} {% block customJS %} {% endblock %}