aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/templates
diff options
context:
space:
mode:
authorDennis Fink2026-11-18 08:56:44 +0100
committerDennis Fink2026-11-18 08:56:44 +0100
commit44ece87ed14c5d19bd6ceabfd023e45561b08ef3 (patch)
tree7a4acb025f7d6457cb198a019096553804e6a1e7 /webmentions_ssg/templates
parentb908ee61770dc78f8d8fbbbfc4f3c00d7877d42a (diff)
downloadwebmentions-ssg-44ece87ed14c5d19bd6ceabfd023e45561b08ef3.tar.gz
webmentions-ssg-44ece87ed14c5d19bd6ceabfd023e45561b08ef3.zip
style(receiver): simplify moderation terminology
Rename source-domain rule labels to the broader "Moderation" and "Domain" wording across forms, navigation, templates, messages, and tests.
Diffstat (limited to 'webmentions_ssg/templates')
-rw-r--r--webmentions_ssg/templates/base.html2
-rw-r--r--webmentions_ssg/templates/moderation.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/webmentions_ssg/templates/base.html b/webmentions_ssg/templates/base.html
index 115f193..17c06d2 100644
--- a/webmentions_ssg/templates/base.html
+++ b/webmentions_ssg/templates/base.html
@@ -48,7 +48,7 @@ SPDX-License-Identifier: BSD-3-Clause
<a class="nav-link{% if request.endpoint in ('webmentions.received_list', 'webmentions.received_detail') %} active{% endif %}"
href='{{ url_for("webmentions.received_list") }}'>Received</a>
<a class="nav-link{% if request.endpoint and request.endpoint.startswith('webmentions.moderation') %} active{% endif %}"
- href="{{ url_for('webmentions.moderation') }}">Source rules</a>
+ href="{{ url_for('webmentions.moderation') }}">Moderation</a>
<a class="nav-link{% if request.endpoint == 'webmentions.source_list' %} active{% endif %}"
href='{{ url_for("webmentions.source_list") }}'>Sent</a>
<a class="nav-link{% if request.endpoint == 'webmentions.user_page' %} active{% endif %}"
diff --git a/webmentions_ssg/templates/moderation.html b/webmentions_ssg/templates/moderation.html
index e45fe3f..3c1e549 100644
--- a/webmentions_ssg/templates/moderation.html
+++ b/webmentions_ssg/templates/moderation.html
@@ -6,7 +6,7 @@ SPDX-License-Identifier: BSD-3-Clause
{% extends "base.html" %}
{% block content %}
- <h1 class="mb-3">Source domain rules</h1>
+ <h1 class="mb-3">Moderation</h1>
<p>
Entries match the named hostname and all of its subdomains (not similarly named domains).
Blocked domains always take precedence over allowed domains. Changes affect new
@@ -25,7 +25,7 @@ SPDX-License-Identifier: BSD-3-Clause
class="row g-2 align-items-end mb-3">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<div class="col-sm-8 col-md-5">
- <label class="form-label" for="{{ kind }}-domain">Source domain</label>
+ <label class="form-label" for="{{ kind }}-domain">Domain</label>
<input class="form-control"
type="text"
id="{{ kind }}-domain"