Commit 0ce8d696 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

wagonorder: Do not show "in Abschnitt" when sections have no names

parent fd7afd8f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@
    % for my $desc ($wr->train_descriptions) {
      % if ($desc->{text}) {
        %= $desc->{text}
        % if ($has_multi_desc) {
        % if ($has_multi_desc and length(join(q{}, sort @{$desc->{sections}}))) {
          in Abschnitt <%= join(q{}, sort @{$desc->{sections}}) %>
        % }
        <br/>