Fix regression in comments templates (#344)

Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
This commit is contained in:
Cintia Sánchez García 2023-07-03 16:03:58 +02:00 committed by GitHub
parent fc2ca3bbb2
commit 2f835f00cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -19,7 +19,7 @@ The vote {% if results.passed %}**passed**! 🎉{% else %}**did not pass**.{% en
{{~ "| ---- | :---: | :-------: |" }}
{%- for (user, vote) in results.votes ~%}
{%- if vote.binding ~%}
| @{{ user }} | {{ vote.vote_option }} | {{ vote.timestamp }} |
| @{{ user }} | {{ vote.vote_option }} | {{ vote.timestamp }} {{ "|" -}}
{% endif -%}
{% endfor -%}
{% endif -%}
@ -36,7 +36,7 @@ The vote {% if results.passed %}**passed**! 🎉{% else %}**did not pass**.{% en
{{~ "| User | Vote | Timestamp |" }}
{{~ "| ---- | :---: | :-------: |" }}
{%- for (user, vote) in results.votes|non_binding(max_non_binding) ~%}
| @{{ user }} | {{ vote.vote_option }} | {{ vote.timestamp }} |
| @{{ user }} | {{ vote.vote_option }} | {{ vote.timestamp }} {{ "|" -}}
{% endfor ~%}
</details>
{% endif %}

View File

@ -9,7 +9,7 @@
{{~ "| Team |" }}
{{~ "| ---- |" }}
{%- for team in teams ~%}
| @{{ org }}/{{ team }} |
| @{{ org }}/{{ team }} {{ "|" -}}
{% endfor %}
{% endif -%}
@ -19,7 +19,7 @@
{{~ "| User |" }}
{{~ "| ---- |" }}
{%- for user in users ~%}
| @{{ user }} |
| @{{ user }} {{ "|" -}}
{% endfor %}
{% endif -%}

View File

@ -17,7 +17,7 @@ So far `{{ "{:.2}"|format(results.in_favor_percentage) }}%` of the users with bi
{{~ "| ---- | :---: | :-------: |" }}
{%- for (user, vote) in results.votes ~%}
{%- if vote.binding ~%}
| {{ user }} | {{ vote.vote_option }} | {{ vote.timestamp }} |
| {{ user }} | {{ vote.vote_option }} | {{ vote.timestamp }} {{ "|" -}}
{% endif -%}
{% endfor -%}
{% endif -%}
@ -34,7 +34,7 @@ So far `{{ "{:.2}"|format(results.in_favor_percentage) }}%` of the users with bi
{{~ "| User | Vote | Timestamp |" }}
{{~ "| ---- | :---: | :-------: |" }}
{%- for (user, vote) in results.votes|non_binding(max_non_binding) ~%}
| {{ user }} | {{ vote.vote_option }} | {{ vote.timestamp }} |
| {{ user }} | {{ vote.vote_option }} | {{ vote.timestamp }} {{ "|" -}}
{% endfor ~%}
</details>
{% endif %}