aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/templates/sent.html
diff options
context:
space:
mode:
authorDennis Fink2026-11-19 18:15:34 +0100
committerDennis Fink2026-11-19 18:15:34 +0100
commit8ec35babe87ff8139ec23cc10b858b7481f132db (patch)
treeb1e2b2507abba25b570a32e7274b6c0158eac653 /webmentions_ssg/templates/sent.html
parent45d3d3fde75173dfbf27e08aae8501842a9511dd (diff)
downloadwebmentions-ssg-8ec35babe87ff8139ec23cc10b858b7481f132db.tar.gz
webmentions-ssg-8ec35babe87ff8139ec23cc10b858b7481f132db.zip
refactor(sender)!: align sent Webmention terminology
Rename source-list forms, views, helpers, and tests around the Sent Webmentions UI while keeping source documents as the grouping model. BREAKING CHANGE: authenticated outgoing routes move from `/sources` to `/sent`, with corresponding blueprint endpoint and Python module renames.
Diffstat (limited to 'webmentions_ssg/templates/sent.html')
-rw-r--r--webmentions_ssg/templates/sent.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/webmentions_ssg/templates/sent.html b/webmentions_ssg/templates/sent.html
index 46296b8..9db0156 100644
--- a/webmentions_ssg/templates/sent.html
+++ b/webmentions_ssg/templates/sent.html
@@ -22,9 +22,9 @@ SPDX-License-Identifier: BSD-3-Clause
{% block content %}
<div class="d-flex justify-content-between align-items-center mb-3">
- <h1 class="mb-0">Sources</h1>
+ <h1 class="mb-0">Sent Webmentions</h1>
<div class="d-flex flex-column justify-content-between">
- <span class="text-body-secondary mb-1">{{ sources.total }} sources</span>
+ <span class="text-body-secondary mb-1">{{ sources.total }} source document{{ "s" if sources.total != 1 else "" }}</span>
<button type="button"
class="btn btn-sm btn-primary"
data-bs-toggle="modal"
@@ -36,7 +36,7 @@ SPDX-License-Identifier: BSD-3-Clause
data-confirm-class="btn-primary">Rescan</button>
</div>
</div>
- <form action="{{ url_for('webmentions.source_list') }}"
+ <form action="{{ url_for('webmentions.sent_list') }}"
method="get"
class="row g-2 align-items-end mb-4"
role="search">
@@ -64,7 +64,7 @@ SPDX-License-Identifier: BSD-3-Clause
</div>
<div class="col-auto d-flex gap-2 ms-auto">
<button type="submit" class="btn btn-primary">Filter</button>
- <a href="{{ url_for('webmentions.source_list') }}"
+ <a href="{{ url_for('webmentions.sent_list') }}"
class="btn btn-outline-secondary">Clear</a>
</div>
</form>
@@ -99,7 +99,7 @@ SPDX-License-Identifier: BSD-3-Clause
<span class="badge {{ badge_class }}">{{ status_text }}</span>
</td>
<td class="text-break">
- <a href="{{ url_for('webmentions.source_detail', source_uuid=source.uuid, source_page=sources.page, **filters) }}">{{ source.path }}</a>
+ <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 d-none d-md-table-cell">
<a href="{{ source.url }}">{{ source.url }}</a>
@@ -142,9 +142,9 @@ SPDX-License-Identifier: BSD-3-Clause
{% endif %}
{% else %}
{% if filters %}
- <p class="text-body-secondary">No sources match these filters.</p>
+ <p class="text-body-secondary">No source documents match these filters.</p>
{% else %}
- <p class="text-body-secondary">No Webmention sources have been discovered yet.</p>
+ <p class="text-body-secondary">No source documents with outgoing Webmentions have been discovered yet.</p>
{% endif %}
{% endif %}
{% include "includes/confirmation_modal.html" %}