Skip to content

Commit

Permalink
fix: Avoid unwanted whitespace when action_holder_badge is empty (#5266)
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-richards authored Mar 2, 2023
1 parent 276dd08 commit 8041cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ietf/templates/doc/drafts_in_iesg_process.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h1>{{ title }}</h1>
<br>
Action holder{{ doc.documentactionholder_set.all|pluralize }}:
{% for action_holder in doc.documentactionholder_set.all %}
{% person_link action_holder.person title=action_holder.role_for_doc %} {{ action_holder|action_holder_badge }}{% if not forloop.last %},{% endif %}
{% person_link action_holder.person title=action_holder.role_for_doc %}{% if action_holder|action_holder_badge %} {{ action_holder|action_holder_badge }}{% endif %}{% if not forloop.last %},{% endif %}
{% endfor %}
{% endif %}
{% if doc.note %}
Expand Down

0 comments on commit 8041cd5

Please sign in to comment.