From 167b01fa4264a8193ff3cbd9d3f1741f5702235a Mon Sep 17 00:00:00 2001
From: Daniel Friesel
Date: Wed, 16 Feb 2022 20:56:28 +0100
Subject: link traewelling profile from travelynx profile; show traewelling
status
---
templates/_checked_in.html.ep | 14 ++++++++++++++
1 file changed, 14 insertions(+)
(limited to 'templates/_checked_in.html.ep')
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 @@
% }
+ % if ($journey->{traewelling}{errored} and $journey->{traewelling_log_latest}) {
+
+
+ - warning Träwelling: <%= $journey->{traewelling_log_latest} %>
+
+
+ % }
+ % if ($journey->{traewelling_url}) {
+
+
+
+ % }
% my $url = 'https://marudor.de/details/' . $journey->{train_type} . ' ' . $journey->{train_no} . '/' . DateTime->now(time_zone => 'Europe/Berlin')->epoch . '000';
--
cgit v1.2.3