From e04c95ea40abf55e7c2787f6fb39da816573cc7d Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 29 Jun 2025 06:04:55 +0200 Subject: _history_trains: hide over-long types --- templates/_history_trains.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/_history_trains.html.ep b/templates/_history_trains.html.ep index 6631f56..166d74d 100644 --- a/templates/_history_trains.html.ep +++ b/templates/_history_trains.html.ep @@ -17,7 +17,7 @@
  • - % if (not $travel->{is_motis}) { + % if (length($travel->{type}) < 5 and not $travel->{is_motis}) { <%= $travel->{type} %> % } <%= $travel->{line} // $travel->{no}%> -- cgit v1.2.3