Skip to content

Commit

Permalink
Show the review requester on review team summary pages. Fixes #2095. …
Browse files Browse the repository at this point in the history
…Commit ready for merge.

 - Legacy-Id: 12506
  • Loading branch information
rjsparks committed Dec 12, 2016
1 parent 1ea983a commit 962e3f8
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions ietf/templates/group/review_requests.html
Expand Up @@ -25,23 +25,25 @@ <h2>{{ label }} open review requests</h2>
<table class="table table-condensed table-striped tablesorter">
<thead>
<tr>
<th>Request</th>
<th>Type</th>
<th>Requested</th>
<th>Deadline</th>
<th class="col-md-4">Request</th>
<th class="col-md-1">Type</th>
<th class="col-md-2">Requested</th>
<th class="col-md-1">Deadline</th>
{% if review_requests.0.reviewer %}
<th>Reviewer</th>
<th class="col-md-2">Reviewer</th>
<th class="col-md-1">Document state</th>
{% else %}
<th clas="col-md-3">Document state</th>
{% endif %}
<th>Document state</th>
<th>IESG Telechat</th>
<th class="col-md-1">IESG Telechat</th>
</tr>
</thead>
<tbody>
{% for r in review_requests %}
<tr>
<td>{% if r.pk != None %}<a href="{% url "ietf.doc.views_review.review_request" name=r.doc.name request_id=r.pk %}">{% endif %}{{ r.doc.name }}-{% if r.requested_rev %}{{ r.requested_rev }}{% else %}{{ r.doc.rev }}{% endif %}{% if r.pk != None %}</a>{% endif %}</td>
<td>{{ r.type.name }}</td>
<td>{% if r.pk %}{{ r.time|date:"Y-m-d" }}{% else %}<em>auto-suggested</em>{% endif %}</td>
<td>{% if r.pk %}{{ r.time|date:"Y-m-d" }} by {{r.requested_by.plain_name}}{% else %}<em>auto-suggested</em>{% endif %}</td>
<td>
{{ r.deadline|date:"Y-m-d" }}
{% if r.due %}<span class="label label-warning" title="{{ r.due }} day{{ r.due|pluralize }} past deadline">{{ r.due }} day{{ r.due|pluralize }}</span>{% endif %}
Expand Down Expand Up @@ -98,7 +100,7 @@ <h2 id="closed-review-requests">Closed review requests</h2>
<tr>
<td><a href="{% url "ietf.doc.views_review.review_request" name=r.doc.name request_id=r.pk %}">{{ r.doc.name }}{% if r.requested_rev %}-{{ r.requested_rev }}{% endif %}</a></td>
<td>{{ r.type }}</td>
<td>{{ r.time|date:"Y-m-d" }}</td>
<td>{{ r.time|date:"Y-m-d" }} by {{ r.requested_by.plain_name }}</td>
<td>{{ r.deadline|date:"Y-m-d" }}</td>
<td>
{% if r.reviewer %}
Expand Down

0 comments on commit 962e3f8

Please sign in to comment.