{% extends "base.html" %} {% from "bootstrap5/pagination.html" import render_pagination %} {% from "includes/failure_guidance.html" import render_failure %} {% set sent_status_presentation = { "sent": { "row_class": "table-success", "badge_class": "text-bg-success", "label": "Sent" }, "no_endpoint": { "row_class": "table-warning", "badge_class": "text-bg-warning", "label": "Unsupported" }, "failed": { "row_class": "table-danger", "badge_class": "text-bg-danger", "label": "Failed" } } %} {% block content %}
← Back to Sent Webmentions

Sent Webmention Source

{% if source.deleted_at is none %} Active {% else %} Deleted {% endif %}

Details

Source ID
{{ source.uuid }}
Content hash
{{ source.content_hash }}
Path
{{ source.path }}
URL
{{ source.url }}
Created
Last seen
Revised
Deleted
{% if source.deleted_at is none %} Never {% else %} {% endif %}
Revision
{{ source.revision }}

Sent Webmentions

{{ webmentions.total }} webmentions
{% if webmentions.items %}
{% for webmention in webmentions %} {% set style = sent_status_presentation.get(webmention.status, {"row_class": "table-info", "badge_class": "text-bg-info", "label": "Pending" }) %} {% endfor %}
Status Target Active Revisions Delivery Last activity Actions
{{ style.label }} {% if webmention.failure_reason is not none %}
{{ render_failure(webmention.failure_reason, "sent") }}
{% endif %} {% if webmention.awaiting_processing and webmention.attempt_count > 0 and webmention.next_retry_at is not none %}
Retry scheduled after attempt {{ webmention.attempt_count }}:
{% endif %}
{{ webmention.target }} {% if webmention.linked %} Active {% else %} Removed {% endif %}
Desired: {{ webmention.desired_revision }}
Processed: {{ webmention.processed_revision if webmention.processed_revision is not none else "—" }}
Sent: {{ webmention.sent_revision if webmention.sent_revision is not none else "—" }}
{% if webmention.webmention_endpoint is not none %} {% endif %} {% if webmention.endpoint_response_status is not none %}
HTTP: {{ webmention.endpoint_response_status }}
{% endif %} {% if webmention.status_url is not none %}
Status: {% if webmention.status_url | is_http_url %} {{ webmention.status_url }} {% else %} {{ webmention.status_url }} {% endif %}
{% endif %}
Attempted:
{% if webmention.last_attempted_at is not none %} {% else %} — {% endif %}
Sent:
{% if webmention.last_sent_at is not none %} {% else %} — {% endif %}
{% if webmentions.pages > 1 %}
{{ render_pagination(webmentions, args=dict(filters, source_page=source_page, history_page=history.page)) }}
{% endif %} {% else %}

No Webmentions have been discovered for this source.

{% endif %}

Status history

{% if history.items %}
    {% for event in history.items %} {% set style = sent_status_presentation.get(event.status, {"badge_class": "text-bg-info", "label": "Pending"}) %}
  1. {{ style.label }} {{ event.action }}
    Revision {{ event.revision }} · Attempt {{ event.attempt_count }} {% if event.endpoint_response_status is not none %} · HTTP {{ event.endpoint_response_status }} {% endif %}
    {% if event.failure_reason %}
    {{ render_failure(event.failure_reason, "sent") }}
    {% endif %}
  2. {% endfor %}
{% if history.pages > 1 %}
{{ render_pagination( history, endpoint='webmentions.sent_source_history_pagination', args=dict( filters, source_uuid=source.uuid, source_page=source_page if source_page > 1 else none, webmentions_page=webmentions.page if webmentions.page > 1 else none ), fragment='status-history-heading' ) }}
{% endif %} {% else %}

No historical delivery events were recorded for this source. Current Webmention statuses appear above.

{% endif %}
{% include "includes/confirmation_modal.html" %} {% endblock %} {% block scripts %} {{ super() }} {% endblock %}