diff --git a/ietf/doc/views_review.py b/ietf/doc/views_review.py index 6c852e396..96eaa816d 100644 --- a/ietf/doc/views_review.py +++ b/ietf/doc/views_review.py @@ -390,7 +390,7 @@ def complete_review(request, name, request_id): review.type = DocTypeName.objects.get(slug="review") review.rev = "00" - review.title = "Review of {}-{}".format(review_req.doc.name, review_req.reviewed_rev) + review.title = "{} Review of {}-{}".format(review_req.type.name, review_req.doc.name, form.cleaned_data["reviewed_rev"]) review.group = review_req.team if review_submission == "link": review.external_url = form.cleaned_data['review_url'] diff --git a/ietf/templates/doc/document_review.html b/ietf/templates/doc/document_review.html index d0900954e..8a684e10b 100644 --- a/ietf/templates/doc/document_review.html +++ b/ietf/templates/doc/document_review.html @@ -16,18 +16,19 @@ {% if doc.rev != latest_rev %} - The information below is for an old version of the document + The information below is for an old version of the document {% else %} - + {% endif %} - Team - - + + Team + + {{ doc.group.name }} ({{ doc.group.acronym }}) @@ -38,27 +39,47 @@ + Title {{ doc.title }} + {% if doc.get_state_slug != "active" %} + State {{ doc.get_state.name }} + {% endif %} {% if review_req %} + + Request + + {{ review_req.type.name }} - requested {{ review_req.time|date:"Y-m-d" }} + + + + + Reviewer + + {{ review_req.reviewer.person }} + + + + Review result - {{ review_req.result.name }} + {{ review_req.result.name }} {% endif %} {% if doc.external_url %} + Posted at {{ doc.external_url }} @@ -66,6 +87,7 @@ {% endif %} + Last updated {{ doc.time|date:"Y-m-d" }}