summaryrefslogtreecommitdiff
path: root/templates/_history_stats.html.ep
diff options
context:
space:
mode:
authornetworkException <git@nwex.de>2023-05-23 02:35:56 +0200
committerderf <derf@chaosdorf.de>2023-05-23 18:22:46 +0200
commit47b4aa5f63e165fc5864d258bf6bc0fd07887593 (patch)
tree2c23213ba510fc2c17647afa275da69c637c9d41 /templates/_history_stats.html.ep
parent9b83e1a8f19e7e6b38838fd6330f9827e0966df5 (diff)
fix excess column in history statistics
This patch fixes a typo in the history stats template. Previously, the HTML parser would close the travel time table data cell element but also create a new, empty table data cell in the process. This empty excess cell would create a new column in the table, causing all other rows to be shifted in the layout. Now the open travel time data cell element gets closed properly without creating a new cell, allowing the whole table to right align neatly.
Diffstat (limited to 'templates/_history_stats.html.ep')
-rw-r--r--templates/_history_stats.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_history_stats.html.ep b/templates/_history_stats.html.ep
index 7e11ee7..bc97ccb 100644
--- a/templates/_history_stats.html.ep
+++ b/templates/_history_stats.html.ep
@@ -39,7 +39,7 @@
<tr>
<th scope="row">Fahrtzeit</th>
<td><%= $stats->{min_travel_real_strf} %> Stunden
- (nach Fahrplan: <%= $stats->{min_travel_sched_strf} %>)<td>
+ (nach Fahrplan: <%= $stats->{min_travel_sched_strf} %>)</td>
</tr>
<tr>
<th scope="row">Wartezeit (nur Umstiege)</th>