Skip to content

Commit ec13e07

Browse files
authored
fix: Whitespace issue ballot popup (ietf-tools#3860)
1 parent 92e67ac commit ec13e07

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

ietf/templates/doc/document_ballot_content.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
<div class="card-header bg-danger text-light">
106106
<div>
107107
<b>{{ p.pos.name }}</b>
108-
({{ p.discuss_time|date:"Y-m-d " }}{% if not p.for_current_revision %}for -{{ p.get_dochistory.rev }}{% endif %})
108+
({{ p.discuss_time|date:"Y-m-d" }}{% if not p.for_current_revision %}{% if p.discuss_time %} {% endif %}for -{{ p.get_dochistory.rev }}{% endif %})
109109
{% if p.send_email %}
110110
<i class="bi bi-envelope float-end"
111111
title="Email requested to be sent for this discuss"></i>
@@ -131,7 +131,7 @@
131131
<div class="card-header {{ p.pos|pos_to_label_format }}">
132132
<div>
133133
<b>Comment</b>
134-
({{ p.comment_time|date:"Y-m-d " }}{% if not p.for_current_revision %}for -{{ p.get_dochistory.rev }}{% endif %})
134+
({{ p.comment_time|date:"Y-m-d" }}{% if not p.for_current_revision %}{% if p.comment_time %} {% endif %}for -{{ p.get_dochistory.rev }}{% endif %})
135135
{% if p.send_email %}
136136
<i class="bi bi-envelope-check float-end"
137137
title="Email requested to be sent for this comment"></i>
@@ -178,9 +178,9 @@
178178
<b>{{ p.pos.name }} </b>
179179
{% if p.pos.blocking and p.discuss %}
180180
<b>[Treat as non-blocking comment]</b>
181-
({{ p.discuss_time|date:"Y-m-d " }}{% if not p.for_current_revision %}for -{{ p.get_dochistory.rev }}{% endif %})
181+
({{ p.discuss_time|date:"Y-m-d" }}{% if not p.for_current_revision %}{% if p.discuss_time %} {% endif %}for -{{ p.get_dochistory.rev }}{% endif %})
182182
{% else %}
183-
({{ p.comment_time|date:"Y-m-d " }}{% if not p.for_current_revision %}for -{{ p.get_dochistory.rev }}{% endif %})
183+
({{ p.comment_time|date:"Y-m-d" }}{% if not p.for_current_revision %}{% if p.comment_time %} {% endif %}for -{{ p.get_dochistory.rev }}{% endif %})
184184
{% endif %}
185185
{% if p.send_email %}
186186
<i class="bi bi-envelope float-end"

0 commit comments

Comments
 (0)