From 8ec35babe87ff8139ec23cc10b858b7481f132db Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Thu, 19 Nov 2026 18:15:34 +0100 Subject: 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. --- webmentions_ssg/templates/base.html | 4 ++-- webmentions_ssg/templates/dashboard.html | 2 +- webmentions_ssg/templates/sent.html | 14 +++++++------- webmentions_ssg/templates/sent_source.html | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) (limited to 'webmentions_ssg/templates') diff --git a/webmentions_ssg/templates/base.html b/webmentions_ssg/templates/base.html index 17c06d2..e21c663 100644 --- a/webmentions_ssg/templates/base.html +++ b/webmentions_ssg/templates/base.html @@ -49,8 +49,8 @@ SPDX-License-Identifier: BSD-3-Clause href='{{ url_for("webmentions.received_list") }}'>Received Moderation - Sent + Sent User

Outgoing

- View sources + View sent Webmentions

{{ sent_total }} total

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 %}
-

Sources

+

Sent Webmentions

- {{ sources.total }} sources + {{ sources.total }} source document{{ "s" if sources.total != 1 else "" }}
- @@ -64,7 +64,7 @@ SPDX-License-Identifier: BSD-3-Clause
- Clear
@@ -99,7 +99,7 @@ SPDX-License-Identifier: BSD-3-Clause {{ status_text }} - {{ source.path }} + {{ source.path }} {{ source.url }} @@ -142,9 +142,9 @@ SPDX-License-Identifier: BSD-3-Clause {% endif %} {% else %} {% if filters %} -

No sources match these filters.

+

No source documents match these filters.

{% else %} -

No Webmention sources have been discovered yet.

+

No source documents with outgoing Webmentions have been discovered yet.

{% endif %} {% endif %} {% include "includes/confirmation_modal.html" %} diff --git a/webmentions_ssg/templates/sent_source.html b/webmentions_ssg/templates/sent_source.html index 04f9d07..a24bde3 100644 --- a/webmentions_ssg/templates/sent_source.html +++ b/webmentions_ssg/templates/sent_source.html @@ -26,10 +26,10 @@ SPDX-License-Identifier: BSD-3-Clause {% block content %}
- ← Back to sources + ← Back to Sent Webmentions
-

Source Details

+

Sent Webmention Source

-- cgit v1.3.1