diff options
Diffstat (limited to 'templates/_wagon.html.ep')
-rw-r--r-- | templates/_wagon.html.ep | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/templates/_wagon.html.ep b/templates/_wagon.html.ep index ce3789b..c19087c 100644 --- a/templates/_wagon.html.ep +++ b/templates/_wagon.html.ep @@ -87,6 +87,17 @@ % } % } % if ($multi and defined $wagon->group_index and (not defined $prev_gi or $wagon->group_index != $prev_gi)) { - <br/><span class="groupno"><%= $wr->train_type %> <%= ($wr->groups)[$wagon->group_index]->train_no %> → <%= $wr->{data}{istformation}{allFahrzeuggruppe}[$wagon->group_index]{zielbetriebsstellename} %></span> <span class="grouptype"><%= ($wr->train_descriptions)[$wagon->group_index]{short} %></span> + <br/> + <span class="groupno"> +% if (scalar $wr->train_nos > 1) { + <%= $wr->train_type %> <%= ($wr->groups)[$wagon->group_index]->train_no %> +% } +% if (scalar $wr->destinations > 1) { + → <%= $wr->{data}{istformation}{allFahrzeuggruppe}[$wagon->group_index]{zielbetriebsstellename} %> +% } + </span> + % if (scalar $wr->train_descriptions > 1 and ($wr->train_descriptions)[$wagon->group_index]{short}) { + <span class="grouptype"><%= ($wr->train_descriptions)[$wagon->group_index]{short} %></span> +% } % } </div> |