Skip to content

Commit af0e194

Browse files
committed
Move percent sign out of format specifiers
1 parent 2323aa2 commit af0e194

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

template.html.jinja

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
<div class="progress-bar"
3939
style="width: {{ project.completion }}%;{% if project.change %}background: linear-gradient(to left, lightgreen {{ project.change * 100 / project.completion }}%, #4caf50 {{ project.change * 100 / project.completion }}%);{% else %}background-color: #4caf50;{% endif %}"
4040
>
41-
{{ '{:.2f}%'.format(project.completion) }} {% if project.change > 0 %}({{ '{:+.2f%}'.format(project.change) }}){% endif %}
41+
{{ '{:.2f}%'.format(project.completion) }} {% if project.change > 0 %}({{ '{:+.2f}%'.format(project.change) }}){% endif %}
4242
</div>
4343
<div class="progress-bar-outer-label">
44-
{{ '{:.2f%}'.format(project.completion) }} {% if project.change > 0 %}({{ '{:+.2f%}'.format(project.change) }}){% endif %}
44+
{{ '{:.2f}%'.format(project.completion) }} {% if project.change > 0 %}({{ '{:+.2f}%'.format(project.change) }}){% endif %}
4545
</div>
4646
</td>
4747
</tr>

0 commit comments

Comments
 (0)