aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/templates
diff options
context:
space:
mode:
authorDennis Fink2026-11-19 19:42:41 +0100
committerDennis Fink2026-11-19 20:59:24 +0100
commit88f54d9a7699944b7d56f978e724b1c0b54dde98 (patch)
tree88ecc527903a91a6f6622ca288b278e5875aff3d /webmentions_ssg/templates
parent8ec35babe87ff8139ec23cc10b858b7481f132db (diff)
downloadwebmentions-ssg-88f54d9a7699944b7d56f978e724b1c0b54dde98.tar.gz
webmentions-ssg-88f54d9a7699944b7d56f978e724b1c0b54dde98.zip
feat(sender): add bulk resend and delivery history
Allow admins to resend all failed Webmentions globally or requeue every delivery for a source using the shared confirmation workflow. Record outgoing status history, expand sent source details, and provide human-readable guidance for current and historical delivery failures.
Diffstat (limited to 'webmentions_ssg/templates')
-rw-r--r--webmentions_ssg/templates/includes/failure_guidance.html (renamed from webmentions_ssg/templates/includes/received_failure.html)10
-rw-r--r--webmentions_ssg/templates/received_detail.html2
-rw-r--r--webmentions_ssg/templates/sent.html22
-rw-r--r--webmentions_ssg/templates/sent_source.html442
4 files changed, 285 insertions, 191 deletions
diff --git a/webmentions_ssg/templates/includes/received_failure.html b/webmentions_ssg/templates/includes/failure_guidance.html
index 65ed7a3..9a36d89 100644
--- a/webmentions_ssg/templates/includes/received_failure.html
+++ b/webmentions_ssg/templates/includes/failure_guidance.html
@@ -4,8 +4,12 @@ SPDX-FileCopyrightText: 2026 Dennis Fink <me+coding@dennisfink.me>
SPDX-License-Identifier: BSD-3-Clause
-->
-{% macro render_failure(reason) %}
- {% set guidance = reason | received_failure_guidance %}
+{% macro render_failure(reason, direction="received") %}
+ {% if direction == "sent" %}
+ {% set guidance = reason | sent_failure_guidance %}
+ {% else %}
+ {% set guidance = reason | received_failure_guidance %}
+ {% endif %}
{% if guidance %}
<div class="text-break">{{ guidance.explanation }}</div>
{% if guidance.next_step %}
@@ -17,6 +21,6 @@ SPDX-License-Identifier: BSD-3-Clause
</details>
{% else %}
<div class="text-break text-pre-formatted">{{ reason }}</div>
- <div class="small text-body-secondary mt-1">Check the application logs for details before reverifying.</div>
+ <div class="small text-body-secondary mt-1">Check the application logs for details before {{ 'resending' if direction == 'sent' else 'reverifying' }}.</div>
{% endif %}
{% endmacro %}
diff --git a/webmentions_ssg/templates/received_detail.html b/webmentions_ssg/templates/received_detail.html
index 38830bf..623ab73 100644
--- a/webmentions_ssg/templates/received_detail.html
+++ b/webmentions_ssg/templates/received_detail.html
@@ -5,7 +5,7 @@ SPDX-License-Identifier: BSD-3-Clause
-->
{% extends "base.html" %}
-{% from "includes/received_failure.html" import render_failure %}
+{% from "includes/failure_guidance.html" import render_failure %}
{% set status_presentation = {
"received": {
"badge": "text-bg-info",
diff --git a/webmentions_ssg/templates/sent.html b/webmentions_ssg/templates/sent.html
index 9db0156..9dbbe8e 100644
--- a/webmentions_ssg/templates/sent.html
+++ b/webmentions_ssg/templates/sent.html
@@ -68,6 +68,18 @@ SPDX-License-Identifier: BSD-3-Clause
class="btn btn-outline-secondary">Clear</a>
</div>
</form>
+ <div class="d-flex flex-wrap gap-2 mb-3"
+ aria-label="Sent Webmention actions">
+ <button type="button"
+ class="btn btn-sm btn-primary ms-auto"
+ data-bs-toggle="modal"
+ data-bs-target="#confirmation-modal"
+ data-action="{{ url_for('webmentions.resend_all_failed_webmentions', page=sources.page if sources.page > 1 else none, **filters) }}"
+ data-title="Resend all failed webmentions?"
+ data-message="All failed outgoing Webmentions across every source and page will be queued again, regardless of the current filters."
+ data-confirm-label="Resend all failed"
+ data-confirm-class="btn-primary">Resend all failed</button>
+ </div>
{% if sources.items %}
<div class="table-responsive">
<table class="table table-bordered table-striped table-hover align-middle">
@@ -80,6 +92,7 @@ SPDX-License-Identifier: BSD-3-Clause
{{ sortable_header('Revision', 'revision', 'd-none d-md-table-cell') }}
{{ sortable_header('Created', 'created', 'd-none d-md-table-cell') }}
{{ sortable_header('Last seen', 'last_seen', 'd-none d-md-table-cell') }}
+ <th scope="col">Details</th>
</tr>
</thead>
<tbody>
@@ -98,9 +111,7 @@ SPDX-License-Identifier: BSD-3-Clause
<td>
<span class="badge {{ badge_class }}">{{ status_text }}</span>
</td>
- <td class="text-break">
- <a href="{{ url_for('webmentions.sent_source_detail', source_uuid=source.uuid, source_page=sources.page, **filters) }}">{{ source.path }}</a>
- </td>
+ <td class="text-break">{{ source.path }}</td>
<td class="text-break d-none d-md-table-cell">
<a href="{{ source.url }}">{{ source.url }}</a>
</td>
@@ -132,6 +143,11 @@ SPDX-License-Identifier: BSD-3-Clause
{{ source.last_seen_at | relative_time }}
</time>
</td>
+ <td>
+ <a class="btn btn-sm btn-primary"
+ href="{{ url_for('webmentions.sent_source_detail', source_uuid=source.uuid, source_page=sources.page, **filters) }}"
+ aria-label="Details for source {{ source.path }}">Details</a>
+ </td>
</tr>
{% endfor %}
</tbody>
diff --git a/webmentions_ssg/templates/sent_source.html b/webmentions_ssg/templates/sent_source.html
index a24bde3..600934c 100644
--- a/webmentions_ssg/templates/sent_source.html
+++ b/webmentions_ssg/templates/sent_source.html
@@ -6,6 +6,7 @@ SPDX-License-Identifier: BSD-3-Clause
{% 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",
@@ -28,204 +29,277 @@ SPDX-License-Identifier: BSD-3-Clause
<div class="mb-3">
<a href="{{ url_for('webmentions.sent_list', page=source_page, **filters) }}">← Back to Sent Webmentions</a>
</div>
- <div class="d-flex justify-content-between align-items-start mb-3">
+ <div class="d-flex flex-wrap justify-content-between align-items-center gap-2 mb-4">
<h1 class="mb-0">Sent Webmention Source</h1>
+ {% if source.deleted_at is none %}
+ <span class="badge fs-6 text-bg-success">Active</span>
+ {% else %}
+ <span class="badge fs-6 text-bg-danger">Deleted</span>
+ {% endif %}
</div>
- <div class="d-flex justify-content-between align-items-start mb-3">
- <dl class="row">
- <dt class="col-sm-2">UUID</dt>
- <dd class="col-sm-4">
- {{ source.uuid }}
- </dd>
- <dt class="col-sm-2">Hash</dt>
- <dd class="col-sm-4">
- {{ source.content_hash }}
- </dd>
- <dt class="col-sm-2">Path</dt>
- <dd class="col-sm-4">
- {{ source.path }}
- </dd>
- <dt class="col-sm-2">URL</dt>
- <dd class="col-sm-4">
- <a href="{{ source.url }}" class="text-break">{{ source.url }}</a>
- </dd>
- <dt class="col-sm-2">Created at</dt>
- <dd class="col-sm-4">
- <time datetime="{{ source.created_at | utc_isoformat }}"
- title="{{ source.created_at | utc_timestamp }}">
- {{ source.created_at | relative_time }}
- </time>
- </dd>
- <dt class="col-sm-2">Last seen at</dt>
- <dd class="col-sm-4">
- <time datetime="{{ source.last_seen_at | utc_isoformat }}"
- title="{{ source.last_seen_at | utc_timestamp }}">
- {{ source.last_seen_at | relative_time }}
- </time>
- </dd>
- <dt class="col-sm-2">Revised at</dt>
- <dd class="col-sm-4">
- <time datetime="{{ source.revised_at | utc_isoformat }}"
- title="{{ source.revised_at | utc_timestamp }}">
- {{ source.revised_at | relative_time }}
- </time>
- </dd>
- <dt class="col-sm-2">Deleted at</dt>
- <dd class="col-sm-4">
- {% if source.deleted_at is none %}
- N/A
- {% else %}
- <time datetime="{{ source.deleted_at | utc_isoformat }}"
- title="{{ source.deleted_at | utc_timestamp }}">
- {{ source.deleted_at | relative_time }}
+ <section class="card mb-4" aria-labelledby="source-details-heading">
+ <div class="card-body">
+ <h2 class="h4 card-title mb-3" id="source-details-heading">Details</h2>
+ <dl class="row mb-0">
+ <dt class="col-md-3">Source ID</dt>
+ <dd class="col-md-9">
+ <code class="text-break">{{ source.uuid }}</code>
+ </dd>
+ <dt class="col-md-3">Content hash</dt>
+ <dd class="col-md-9">
+ <code class="text-break">{{ source.content_hash }}</code>
+ </dd>
+ <dt class="col-md-3">Path</dt>
+ <dd class="col-md-9 text-break">
+ {{ source.path }}
+ </dd>
+ <dt class="col-md-3">URL</dt>
+ <dd class="col-md-9 text-break">
+ <a href="{{ source.url }}">{{ source.url }}</a>
+ </dd>
+ <dt class="col-md-3">Created</dt>
+ <dd class="col-md-9">
+ <time datetime="{{ source.created_at | utc_isoformat }}"
+ title="{{ source.created_at | utc_timestamp }}">
+ {{ source.created_at | relative_time }}
</time>
- {% endif %}
- </dd>
- <dt class="col-sm-2">Revision</dt>
- <dd class="col-sm-4">
- {{ source.revision }}
- </dd>
- </dl>
- </div>
- <div class="d-flex justify-content-between align-items-start mb-3">
- <h2 class="mb-0">Sent Webmentions</h2>
- <span class="text-body-secondary">{{ webmentions.total }} webmentions</span>
+ </dd>
+ <dt class="col-md-3">Last seen</dt>
+ <dd class="col-md-9">
+ <time datetime="{{ source.last_seen_at | utc_isoformat }}"
+ title="{{ source.last_seen_at | utc_timestamp }}">
+ {{ source.last_seen_at | relative_time }}
+ </time>
+ </dd>
+ <dt class="col-md-3">Revised</dt>
+ <dd class="col-md-9">
+ <time datetime="{{ source.revised_at | utc_isoformat }}"
+ title="{{ source.revised_at | utc_timestamp }}">
+ {{ source.revised_at | relative_time }}
+ </time>
+ </dd>
+ <dt class="col-md-3">Deleted</dt>
+ <dd class="col-md-9">
+ {% if source.deleted_at is none %}
+ <span class="text-body-secondary">Never</span>
+ {% else %}
+ <time datetime="{{ source.deleted_at | utc_isoformat }}"
+ title="{{ source.deleted_at | utc_timestamp }}">
+ {{ source.deleted_at | relative_time }}
+ </time>
+ {% endif %}
+ </dd>
+ <dt class="col-md-3">Revision</dt>
+ <dd class="col-md-9">
+ {{ source.revision }}
+ </dd>
+ </dl>
+ </div>
+ </section>
+ <div class="d-flex flex-wrap gap-2 mb-4" aria-label="Source actions">
+ <button type="button"
+ class="btn btn-sm btn-primary"
+ data-bs-toggle="modal"
+ data-bs-target="#confirmation-modal"
+ data-action="{{ url_for('webmentions.resend_all_source_webmentions', source_uuid=source.uuid, source_page=source_page, page=webmentions.page, history_page=history.page, **filters) }}"
+ data-title="Resend all webmentions for this source?"
+ data-message="Every outgoing Webmention for this source will be queued again, including successful sends and mentions on other pages."
+ data-confirm-label="Resend all"
+ data-confirm-class="btn-primary">Resend all</button>
</div>
- {% if webmentions.items %}
- <div class="table-responsive">
- <table class="table table-bordered table-striped table-hover align-middle">
- <thead>
- <tr>
- <th scope="col">Status</th>
- <th scope="col">Target</th>
- <th scope="col" class="d-none d-md-table-cell">Active</th>
- <th scope="col" class="d-none d-md-table-cell">Revisions</th>
- <th scope="col" class="d-none d-md-table-cell">Delivery</th>
- <th scope="col" class="d-none d-md-table-cell">Last activity</th>
- <th scope="col">Actions</th>
- </tr>
- </thead>
- <tbody>
- {% for webmention in webmentions %}
- {% set style = sent_status_presentation.get(webmention.status, {"row_class": "table-info", "badge_class": "text-bg-info", "label": "Pending" }) %}
- <tr class="{{ style.row_class }}">
- <td class="text-break">
- <span class="badge {{ style.badge_class }}">{{ style.label }}</span>
- {% if webmention.failure_reason is not none %}
- <div class="small mt-2">{{ webmention.failure_reason }}</div>
- {% endif %}
- {% if webmention.awaiting_processing and webmention.attempt_count > 0 and webmention.next_retry_at is not none %}
- <div class="small mt-2">
- Retry scheduled after attempt {{ webmention.attempt_count }}:
- <time datetime="{{ webmention.next_retry_at | utc_isoformat }}"
- title="{{ webmention.next_retry_at | utc_timestamp }}">
- {{ webmention.next_retry_at | relative_time }}
- </time>
+ <section aria-labelledby="sent-webmentions-heading" class="mb-4">
+ <div class="d-flex justify-content-between align-items-center gap-2 mb-3">
+ <h2 class="h4 mb-0" id="sent-webmentions-heading">Sent Webmentions</h2>
+ <span class="text-body-secondary">{{ webmentions.total }} webmentions</span>
+ </div>
+ {% if webmentions.items %}
+ <div class="table-responsive">
+ <table class="table table-bordered table-striped table-hover align-middle">
+ <thead>
+ <tr>
+ <th scope="col">Status</th>
+ <th scope="col">Target</th>
+ <th scope="col" class="d-none d-md-table-cell">Active</th>
+ <th scope="col" class="d-none d-md-table-cell">Revisions</th>
+ <th scope="col" class="d-none d-md-table-cell">Delivery</th>
+ <th scope="col" class="d-none d-md-table-cell">Last activity</th>
+ <th scope="col">Actions</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for webmention in webmentions %}
+ {% set style = sent_status_presentation.get(webmention.status, {"row_class": "table-info", "badge_class": "text-bg-info", "label": "Pending" }) %}
+ <tr class="{{ style.row_class }}">
+ <td class="text-break">
+ <span class="badge {{ style.badge_class }}">{{ style.label }}</span>
+ {% if webmention.failure_reason is not none %}
+ <div class="small mt-2">{{ render_failure(webmention.failure_reason, "sent") }}</div>
+ {% endif %}
+ {% if webmention.awaiting_processing and webmention.attempt_count > 0 and webmention.next_retry_at is not none %}
+ <div class="small mt-2">
+ Retry scheduled after attempt {{ webmention.attempt_count }}:
+ <time datetime="{{ webmention.next_retry_at | utc_isoformat }}"
+ title="{{ webmention.next_retry_at | utc_timestamp }}">
+ {{ webmention.next_retry_at | relative_time }}
+ </time>
+ </div>
+ {% endif %}
+ </td>
+ <td class="text-break">
+ <a href="{{ webmention.target }}">{{ webmention.target }}</a>
+ </td>
+ <td class="d-none d-md-table-cell">
+ {% if webmention.linked %}
+ <span class="badge text-bg-success">Active</span>
+ {% else %}
+ <span class="badge text-bg-danger">Removed</span>
+ {% endif %}
+ </td>
+ <td class="small text-nowrap d-none d-md-table-cell">
+ <div>
+ <strong>Desired:</strong>
+ {{ webmention.desired_revision }}
</div>
- {% endif %}
- </td>
- <td class="text-break">
- <a href="{{ webmention.target }}">{{ webmention.target }}</a>
- </td>
- <td class="d-none d-md-table-cell">
- {% if webmention.linked %}
- <span class="badge text-bg-success">Active</span>
- {% else %}
- <span class="badge text-bg-danger">Removed</span>
- {% endif %}
- </td>
- <td class="small text-nowrap d-none d-md-table-cell">
- <div>
- <strong>Desired:</strong>
- {{ webmention.desired_revision }}
- </div>
- <div>
- <strong>Processed:</strong>
- {{ webmention.processed_revision
- if webmention.processed_revision is not none
- else "—" }}
- </div>
- <div>
- <strong>Sent:</strong>
- {{ webmention.sent_revision
- if webmention.sent_revision is not none
- else "—" }}
- </div>
- </td>
- <td class="small d-none d-md-table-cell">
- {% if webmention.webmention_endpoint is not none %}
- <div class="mb-1">
- <strong>Endpoint:</strong>
- <a href="{{ webmention.webmention_endpoint }}"
- class="text-break">{{ webmention.webmention_endpoint }}</a>
+ <div>
+ <strong>Processed:</strong>
+ {{ webmention.processed_revision
+ if webmention.processed_revision is not none
+ else "—" }}
</div>
- {% endif %}
- {% if webmention.endpoint_response_status is not none %}
+ <div>
+ <strong>Sent:</strong>
+ {{ webmention.sent_revision
+ if webmention.sent_revision is not none
+ else "—" }}
+ </div>
+ </td>
+ <td class="small d-none d-md-table-cell">
+ {% if webmention.webmention_endpoint is not none %}
+ <div class="mb-1">
+ <strong>Endpoint:</strong>
+ <a href="{{ webmention.webmention_endpoint }}"
+ class="text-break">{{ webmention.webmention_endpoint }}</a>
+ </div>
+ {% endif %}
+ {% if webmention.endpoint_response_status is not none %}
+ <div class="mb-1">
+ <strong>HTTP:</strong>
+ {{ webmention.endpoint_response_status }}
+ </div>
+ {% endif %}
+ {% if webmention.status_url is not none %}
+ <div>
+ <strong>Status:</strong>
+ {% if webmention.status_url | is_http_url %}
+ <a href="{{ webmention.status_url }}" class="text-break">{{ webmention.status_url }}</a>
+ {% else %}
+ <span class="text-break">{{ webmention.status_url }}</span>
+ {% endif %}
+ </div>
+ {% endif %}
+ </td>
+ <td class="small text-nowrap d-none d-md-table-cell">
<div class="mb-1">
- <strong>HTTP:</strong>
- {{ webmention.endpoint_response_status }}
+ <strong>Attempted:</strong>
+ <br>
+ {% if webmention.last_attempted_at is not none %}
+ <time datetime="{{ webmention.last_attempted_at | utc_isoformat }}"
+ title="{{ webmention.last_attempted_at | utc_timestamp }}">
+ {{ webmention.last_attempted_at | relative_time }}
+ </time>
+ {% else %}
+ —
+ {% endif %}
</div>
- {% endif %}
- {% if webmention.status_url is not none %}
<div>
- <strong>Status:</strong>
- {% if webmention.status_url | is_http_url %}
- <a href="{{ webmention.status_url }}" class="text-break">{{ webmention.status_url }}</a>
+ <strong>Sent:</strong>
+ <br>
+ {% if webmention.last_sent_at is not none %}
+ <time datetime="{{ webmention.last_sent_at | utc_isoformat }}"
+ title="{{ webmention.last_sent_at | utc_timestamp }}">
+ {{ webmention.last_sent_at | relative_time }}
+ </time>
{% else %}
- <span class="text-break">{{ webmention.status_url }}</span>
+ —
{% endif %}
</div>
+ </td>
+ <td>
+ <button type="button"
+ class="btn btn-sm btn-primary"
+ data-bs-toggle="modal"
+ data-bs-target="#confirmation-modal"
+ data-action="{{ url_for('webmentions.resend_webmention', source_uuid=source.uuid, webmention_uuid=webmention.uuid, source_page=source_page, page=webmentions.page, history_page=history.page, **filters) }}"
+ data-title="Resend Webmention?"
+ data-message="This Webmention will be queued again for delivery to {{ webmention.target }}."
+ data-confirm-label="Resend"
+ data-confirm-class="btn-primary">Resend</button>
+ </td>
+ </tr>
+ {% endfor %}
+ </tbody>
+ </table>
+ </div>
+ {% if webmentions.pages > 1 %}
+ <div class="mt-3">{{ render_pagination(webmentions, args=dict(filters, source_page=source_page, history_page=history.page)) }}</div>
+ {% endif %}
+ {% else %}
+ <p class="text-body-secondary">No Webmentions have been discovered for this source.</p>
+ {% endif %}
+ </section>
+ <section aria-labelledby="status-history-heading">
+ <h2 class="h4 mb-3" id="status-history-heading">Status history</h2>
+ {% if history.items %}
+ <ol class="list-group list-group-numbered mb-3">
+ {% for event in history.items %}
+ {% set style = sent_status_presentation.get(event.status, {"badge_class": "text-bg-info", "label": "Pending"}) %}
+ <li class="list-group-item d-flex gap-2">
+ <div class="flex-grow-1" style="min-width: 0;">
+ <div class="d-flex flex-wrap align-items-center gap-2 mb-1">
+ <span class="badge {{ style.badge_class }}">{{ style.label }}</span>
+ <strong>{{ event.action }}</strong>
+ <time class="ms-auto text-body-secondary small"
+ datetime="{{ event.occurred_at | utc_isoformat }}"
+ title="{{ event.occurred_at | utc_timestamp }}">
+ {{ event.occurred_at | relative_time }}
+ </time>
+ </div>
+ <div class="text-break small mb-1">
+ <a href="{{ event.webmention.target }}">{{ event.webmention.target }}</a>
+ </div>
+ <div class="small text-body-secondary">
+ Revision {{ event.revision }} · Attempt {{ event.attempt_count }}
+ {% if event.endpoint_response_status is not none %}
+ · HTTP {{ event.endpoint_response_status }}
{% endif %}
- </td>
- <td class="small text-nowrap d-none d-md-table-cell">
- <div class="mb-1">
- <strong>Attempted:</strong>
- <br>
- {% if webmention.last_attempted_at is not none %}
- <time datetime="{{ webmention.last_attempted_at | utc_isoformat }}"
- title="{{ webmention.last_attempted_at | utc_timestamp }}">
- {{ webmention.last_attempted_at | relative_time }}
- </time>
- {% else %}
- —
- {% endif %}
- </div>
- <div>
- <strong>Sent:</strong>
- <br>
- {% if webmention.last_sent_at is not none %}
- <time datetime="{{ webmention.last_sent_at | utc_isoformat }}"
- title="{{ webmention.last_sent_at | utc_timestamp }}">
- {{ webmention.last_sent_at | relative_time }}
- </time>
- {% else %}
- —
- {% endif %}
- </div>
- </td>
- <td>
- <button type="button"
- class="btn btn-sm btn-primary"
- data-bs-toggle="modal"
- data-bs-target="#confirmation-modal"
- data-action="{{ url_for('webmentions.resend_webmention', source_uuid=source.uuid, webmention_uuid=webmention.uuid, source_page=source_page, page=webmentions.page, **filters) }}"
- data-title="Resend Webmention?"
- data-message="This Webmention will be queued again for delivery to {{ webmention.target }}."
- data-confirm-label="Resend"
- data-confirm-class="btn-primary">Resend</button>
- </td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- </div>
- {% if webmentions.pages > 1 %}
- <div class="mt-3">{{ render_pagination(webmentions, args=dict(filters, source_page=source_page)) }}</div>
+ </div>
+ {% if event.failure_reason %}
+ <div class="small mt-2">{{ render_failure(event.failure_reason, "sent") }}</div>
+ {% endif %}
+ </div>
+ </li>
+ {% endfor %}
+ </ol>
+ {% if history.pages > 1 %}
+ <div class="mt-3">
+ {{ 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'
+ ) }}
+ </div>
+ {% endif %}
+ {% else %}
+ <p class="text-body-secondary">No historical delivery events were recorded for this source. Current Webmention statuses appear above.</p>
{% endif %}
- {% include "includes/confirmation_modal.html" %}
- {% else %}
- <p class="text-body-secondary">No Webmentions have been discovered for this source.</p>
- {% endif %}
+ </section>
+ {% include "includes/confirmation_modal.html" %}
{% endblock %}
{% block scripts %}