From 21643b053d8d4097f7bb51463a1562738b82892d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 2 Sep 2018 21:41:33 +0200 Subject: Initial commit --- templates/departures.html.ep | 49 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 templates/departures.html.ep (limited to 'templates/departures.html.ep') diff --git a/templates/departures.html.ep b/templates/departures.html.ep new file mode 100644 index 0000000..bbe0149 --- /dev/null +++ b/templates/departures.html.ep @@ -0,0 +1,49 @@ +
+
+ % my $status = $self->get_user_status; + % if ($status->{checked_in}) { +
+
+ Aktuell eingecheckt +

In <%= $status->{train_type} %> <%= $status->{train_no} %> + ab <%= $status->{station_name} %>

+
+ +
+ % } +
+
+
+ + + + + + + + + + % for my $result (@{$results}) { + + + + + + % } + +
ZugAbfahrt
+ + <%= $result->line %> + + + + <%= $result->destination %> + + <%= $result->departure->strftime('%H:%M') %> + % if ($result->departure_delay) { + (+<%= $result->departure_delay %>) + % } +
+
-- cgit v1.2.3