Skip to content

Commit ada1e4e

Browse files
committed
Do not show non-empty discuss text when the position is not blocking. Fixes bug ietf-tools#855
- Legacy-Id: 4749
1 parent 3038396 commit ada1e4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/templates/idrfc/document_ballot_content.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ <h2 style="margin-top:12px;">{{ ballot.ballot_type.question }}</h2>
5757
{% for p in text_positions %}
5858
<h2 id="{{ p.ad.plain_name|slugify }}" class="ad-ballot-comment">{% if p.old_ad %}[{% endif %}{{ p.ad.plain_name }}{% if p.old_ad %}]{% endif %}</h2>
5959

60-
{% if p.discuss %}
60+
{% if p.pos.blocking and p.discuss %}
6161
<p><b>{{ p.pos.name }} ({{ p.discuss_time|date:"Y-m-d" }})</b> <img src="/images/comment.png" width="14" height="12" alt=""/></p>
6262
<pre>{{ p.discuss|wrap_text:80|escape }}</pre>
6363
{% endif %}

0 commit comments

Comments
 (0)