Skip to content

Commit 3f40d9c

Browse files
committed
Applied a patch from kivinen@iki.fi to only show review completion date when the review is completed or part completed. Fixes issue ietf-tools#2423.
- Legacy-Id: 14409
1 parent 892f12e commit 3f40d9c

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

ietf/templates/doc/review/request_info.html

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -188,14 +188,15 @@
188188
</tr>
189189
{% endif %}
190190

191-
{% if review_req.review_done_time %}
192-
<tr>
193-
<th></th>
194-
<th>Review closed:</th>
195-
<td>{{ review_req.review_done_time|date:"Y-m-d" }}</td>
196-
</tr>
191+
{% if review_req.state_id == "completed" or review_req.state_id == "part-completed" %}
192+
<tr>
193+
<th></th>
194+
<th>Review completed:</th>
195+
<td>
196+
{{ review_req.review_done_time|date:"Y-m-d" }}
197+
</td>
198+
</tr>
197199
{% endif %}
198-
199200
</tbody>
200201
</table>
201202

0 commit comments

Comments
 (0)