mirror of https://github.com/cncf/gitvote.git
Fix regression in comments templates (#344)
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
This commit is contained in:
parent
fc2ca3bbb2
commit
2f835f00cd
|
@ -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 %}
|
||||
|
|
|
@ -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 -%}
|
||||
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue