Fix #2478 - When completing review, show which addresses it is posted to.

Commit ready for merge.
 - Legacy-Id: 16688
This commit is contained in:
Sasha Romijn 2019-09-02 15:52:26 +00:00
parent 1390ae073c
commit 68ea11a916
3 changed files with 8 additions and 0 deletions

View file

@ -610,6 +610,9 @@ class ReviewTests(TestCase):
# get
r = self.client.get(url)
self.assertEqual(r.status_code, 200)
self.assertContains(r, assignment.review_request.team.list_email)
for author in assignment.review_request.doc.authors():
self.assertContains(r, author.formatted_email())
# faulty post
r = self.client.post(url, data={

View file

@ -786,6 +786,8 @@ def complete_review(request, name, assignment_id):
'form': form,
'mail_archive_query_urls': mail_archive_query_urls,
'revising_review': revising_review,
'review_to': to,
'review_cc': cc,
})
def search_mail_archive(request, name, assignment_id):

View file

@ -27,6 +27,9 @@
system will post the review for you. If you already have posted
the review, you can try to let the system find the link to the
archive and retrieve the email body.</p>
<p>If you enter the review below, the review will be sent
to <em>{{ review_to|join:", " }}</em>
{% if review_cc %}, with a Cc to <em>{{ review_cc|join:", " }}</em>{% endif %}.</p>
{% else %}
<p>You can revise this review by entering the results below.</p>
{% endif %}