We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b51abc1 + 4b4899f commit 775324aCopy full SHA for 775324a
app/templates/v2_queue.html
@@ -31,7 +31,7 @@ <h1>Queue</h1>
31
<p>todo: {{ executor.count }} patches</p>
32
33
{% set stats = stats.run_stats() %}
34
- {% set patch_finished_percentage = 100.0 * ((stats.patch.count._all_ - stats.patch.count.incomplete) / stats.patch.count._all_) %}
+ {% set patch_finished_percentage = 0.0 if stats.patch.count._all_ == 0 else 100.0 * ((stats.patch.count._all_ - stats.patch.count.incomplete) / stats.patch.count._all_) %}
35
36
<div class="progress">
37
<div class="progress-bar{{ additional_bar_class }}" role="progressbar" style="width: {{ patch_finished_percentage }}%">
0 commit comments