Merge pull request #2365 from bookwyrm-social/url-typo

Small fixes - typo in a url and emails about reports
This commit is contained in:
Mouse Reeve 2022-11-14 18:13:09 -08:00 committed by GitHub
commit 914479f1c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View file

@ -48,6 +48,7 @@ def moderation_report_email(report):
if report.user:
data["reportee"] = report.user.localname or report.user.username
data["report_link"] = report.remote_id
data["link_domain"] = report.links.exists()
for admin in models.User.objects.filter(
groups__name__in=["admin", "moderator"]

View file

@ -3,7 +3,7 @@
{% block content %}
<p>
{% if report_link %}
{% if link_domain %}
{% blocktrans trimmed %}
@{{ reporter }} has flagged a link domain for moderation.

View file

@ -2,7 +2,7 @@
{% load i18n %}
{% block content %}
{% if report_link %}
{% if link_domain %}
{% blocktrans trimmed %}
@{{ reporter }} has flagged a link domain for moderation.
{% endblocktrans %}

View file

@ -297,7 +297,7 @@ urlpatterns = [
name="settings-imports",
),
re_path(
r"^settings/imports/(?P<import_id>\d+)/complete?$",
r"^settings/imports/(?P<import_id>\d+)/complete/?$",
views.ImportList.as_view(),
name="settings-imports-complete",
),