diff options
Diffstat (limited to 'templates/_checked_in.html.ep')
-rw-r--r-- | templates/_checked_in.html.ep | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index 76d11bc..d882501 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -278,6 +278,20 @@ </ul> </p> % } + % if ($journey->{traewelling}{errored} and $journey->{traewelling_log_latest}) { + <p style="margin-bottom: 2ex;"> + <ul> + <li> <i class="material-icons tiny">warning</i> Träwelling: <%= $journey->{traewelling_log_latest} %></li> + </ul> + </p> + % } + % if ($journey->{traewelling_url}) { + <p style="margin-bottom: 2ex;"> + <ul> + <li> <i class="material-icons tiny">sync</i> Träwelling: <a href="<%= $journey->{traewelling_url} %>"><%= $journey->{traewelling_log_latest} %></a></li> + </ul> + </p> + % } </div> <div class="card-action"> % my $url = 'https://marudor.de/details/' . $journey->{train_type} . ' ' . $journey->{train_no} . '/' . DateTime->now(time_zone => 'Europe/Berlin')->epoch . '000'; |