Skip to content

Commit 87ce060

Browse files
committed
Only show document versions for positions when the position is on an older version. (Reapplying earlier fix). Fixes ietf-tools#1711. Commit ready for merge.
- Legacy-Id: 9639
1 parent 77b20a9 commit 87ce060

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/templates/doc/document_ballot_content.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ <h4 class="anchor-target" id="{{ p.ad.plain_name|slugify }}">
9595
{% if p.pos.blocking and p.discuss %}
9696
<div class="panel panel-danger">
9797
<div class="panel-heading">
98-
<h5 class="panel-title"><b>{{ p.pos.name }}</b> ({{ p.discuss_time|date:"Y-m-d" }} for -{{ p.get_dochistory.rev}})</h5>
98+
<h5 class="panel-title"><b>{{ p.pos.name }}</b> ({{ p.discuss_time|date:"Y-m-d" }}{% if not p.for_current_revision %} for -{{ p.get_dochistory.rev}}{% endif %})</h5>
9999
</div>
100100
<div class="panel-body"><pre class="ballot">{{ p.discuss|wrap_text:80|escape|urlize }}</pre></div>
101101
</div>
@@ -104,7 +104,7 @@ <h5 class="panel-title"><b>{{ p.pos.name }}</b> ({{ p.discuss_time|date:"Y-m-d"
104104
{% if p.comment %}
105105
<div class="panel panel-{{ p.pos|pos_to_label }}">
106106
<div class="panel-heading">
107-
<h5 class="panel-title"><b>Comment</b> ({{ p.comment_time|date:"Y-m-d" }} for -{{ p.get_dochistory.rev}})</h5>
107+
<h5 class="panel-title"><b>Comment</b> ({{ p.comment_time|date:"Y-m-d" }}{% if not p.for_current_revision %} for -{{ p.get_dochistory.rev}}{% endif %})</h5>
108108
</div>
109109
<div class="panel-body"><pre class="ballot">{{ p.comment|wrap_text:80|escape|urlize }}</pre></div>
110110
</div>

0 commit comments

Comments
 (0)