Use $train->type rather than firts part of $train->line for CSS class
In some cases (e.g. in Belgium), trains do not have a type, so the first part of $train->line is the train number instead.
parent
58b02bc6
Please register or sign in to comment