From 24c1d5a168daf4a1d67b5baae0c25397f87bb3e5 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sun, 30 Jan 2022 09:15:20 -0800 Subject: [PATCH] Add prompt to respond to reporter --- .../templates/settings/reports/report.html | 23 ++++++++++++++++--- .../snippets/create_status/content_field.html | 21 +++++++++-------- .../create_status/post_options_block.html | 2 +- 3 files changed, 32 insertions(+), 14 deletions(-) diff --git a/bookwyrm/templates/settings/reports/report.html b/bookwyrm/templates/settings/reports/report.html index 84fafb143..a795273bc 100644 --- a/bookwyrm/templates/settings/reports/report.html +++ b/bookwyrm/templates/settings/reports/report.html @@ -17,6 +17,19 @@ {% include 'settings/reports/report_preview.html' with report=report %} +
+
+ + {% trans "Message reporter" %} + + +
+ {% trans "Update on your report:" as dm_template %} + {% include 'snippets/create_status/status.html' with type="direct" uuid=1 mention=report.reporter prepared_content=dm_template no_script=True %} +
+
+
+ {% if report.statuses.exists %}

{% trans "Reported statuses" %}

@@ -68,9 +81,13 @@ {% endfor %}
{% csrf_token %} - - - +
+ + +
+
+ +
{% endblock %} diff --git a/bookwyrm/templates/snippets/create_status/content_field.html b/bookwyrm/templates/snippets/create_status/content_field.html index ea2849d92..cc4205b2c 100644 --- a/bookwyrm/templates/snippets/create_status/content_field.html +++ b/bookwyrm/templates/snippets/create_status/content_field.html @@ -8,13 +8,14 @@ reply_parent: if applicable, the Status object that this post is in reply to mention: a user who is @ mentioned by default in the post draft: an existing Status object that is providing default values for input fields {% endcomment %} - - +
+ +
diff --git a/bookwyrm/templates/snippets/create_status/post_options_block.html b/bookwyrm/templates/snippets/create_status/post_options_block.html index 697614e19..171315320 100644 --- a/bookwyrm/templates/snippets/create_status/post_options_block.html +++ b/bookwyrm/templates/snippets/create_status/post_options_block.html @@ -15,7 +15,7 @@ {% endif %} -
+