Skip to content

Commit 35020c5

Browse files
committed
Improve alignment
1 parent defd960 commit 35020c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/server/static/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1769,14 +1769,14 @@ <h3>Why calculate PR costs?</h3>
17691769

17701770
// Weekly waste per PR author
17711771
if ((e.waste_hours_per_author_per_week || 0) > 0 && (e.total_authors || 0) > 0) {
1772-
output += ` Weekly waste per PR author: ${formatCurrency(e.waste_cost_per_author_per_week).padStart(10)} ${formatTimeUnit(e.waste_hours_per_author_per_week)} (${e.total_authors} authors)\n`;
1772+
output += ` Weekly waste per PR author: ${formatCurrency(e.waste_cost_per_author_per_week).padStart(10)} ${formatTimeUnit(e.waste_hours_per_author_per_week)} (${e.total_authors} authors)\n`;
17731773
}
17741774

17751775
// Preventable Loss Total (before grand total)
17761776
const preventableCost = (e.code_churn_cost || 0) + (e.delivery_delay_cost || 0) + (e.automated_updates_cost || 0) + (e.pr_tracking_cost || 0);
17771777
const preventableHours = (e.code_churn_hours || 0) + (e.delivery_delay_hours || 0) + (e.automated_updates_hours || 0) + (e.pr_tracking_hours || 0);
17781778
const preventablePct = (preventableCost / e.total_cost) * 100;
1779-
output += ` Total Preventable Waste (${days} days): ${formatCurrency(preventableCost).padStart(10)} ${formatTimeUnit(preventableHours)} (${preventablePct.toFixed(1)}%)\n`;
1779+
output += ` Total Preventable Waste (${days} days): ${formatCurrency(preventableCost).padStart(10)} ${formatTimeUnit(preventableHours)} (${preventablePct.toFixed(1)}%)\n`;
17801780

17811781
// Total
17821782
output += ' ════════════════════════════════════════════════════\n';

0 commit comments

Comments
 (0)