diff options
| author | Dennis Fink | 2026-11-19 19:42:41 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-11-19 20:59:24 +0100 |
| commit | 88f54d9a7699944b7d56f978e724b1c0b54dde98 (patch) | |
| tree | 88ecc527903a91a6f6622ca288b278e5875aff3d /webmentions_ssg/templates/sent.html | |
| parent | 8ec35babe87ff8139ec23cc10b858b7481f132db (diff) | |
| download | webmentions-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 '')
| -rw-r--r-- | webmentions_ssg/templates/sent.html | 22 |
1 files changed, 19 insertions, 3 deletions
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> |
