{% extends "base.html" %} {% from "bootstrap5/pagination.html" import render_pagination %} {% 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 sources

Source Details

UUID
{{ source.uuid }}
Hash
{{ source.content_hash }}
Path
{{ source.path }}
URL
{{ source.url }}
Created at
Last seen at
Revised at
Deleted at
{% if source.deleted_at is none %} N/A {% 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 %}
Target Status Active Revisions Delivery Last activity Actions
{{ webmention.target }} {{ style.label }} {% if webmention.failure_reason is not none %}
{{ webmention.failure_reason }}
{% endif %}
{% 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) }}
{% endif %} {% include "includes/confirmation_modal.html" %} {% else %}

No Webmentions have been discovered for this source.

{% endif %} {% endblock %} {% block scripts %} {{ super() }} {% endblock %}