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

train_details: expose IRIS details (evevn if unknown)

parent 4f92556b
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -207,6 +207,16 @@
          <span class="reason">
%=        $pair->[1]
          </span>
%         if (@{$pair} >= 5 and $pair->[2] and $pair->[3] and $pair->[4]) {
            <%= $pair->[2] %>
%           if ($pair->[3]->day_of_year != $dt_now->day_of_year or $pair->[4]->day_of_year != $dt_now->day_of_year) {
              (<%= $pair->[3]->strftime('%d.%m. %H:%M') %> → <%= $pair->[4]->strftime('%d.%m. %H:%M') %>)
%           }
%           else {
              (<%= $pair->[3]->strftime('%H:%M') %> → <%= $pair->[4]->strftime('%H:%M') %>)
%           }
            – Details unbekannt
%         }
%       }
%       else {
%         if ($pair->[1]{icon}) {