From 43ef20a672897496df2ef1cedadeef21a4c8127a Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 6 Feb 2016 11:35:29 +0200 Subject: Align columns correctly There's still a problem that different benchmarks for one commit go on separate lines. --- obbenchlib/templates/index.j2 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/obbenchlib/templates/index.j2 b/obbenchlib/templates/index.j2 index 4d84a98..7dbadd5 100644 --- a/obbenchlib/templates/index.j2 +++ b/obbenchlib/templates/index.j2 @@ -19,9 +19,11 @@ {{ row.commit_date }} {{ '%.7s'|format(row.commit_id) }} {% for name in benchmark_names %} - {% if name in row %} - {{ '%.1f'|format(row[name]) }} - {% endif %} + + {% if name in row %} + {{ '%.1f'|format(row[name]) }} + {% endif %} + {% endfor %} {% endfor %} -- cgit v1.2.1