Unverified Commit e04c95ea authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

_history_trains: hide over-long types

parent e859ea29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
			<li class="collection-item">
				<a href="<%= $detail_link %>">
					<span class="dep-line <%= ($travel->{type} // q{}) =~ tr{a-zA-Z_-}{}cdr %>">
						% if (not $travel->{is_motis}) {
						% if (length($travel->{type}) < 5 and not $travel->{is_motis}) {
							<%= $travel->{type} %>
						% }
						<%= $travel->{line}  // $travel->{no}%>