summaryrefslogtreecommitdiff
path: root/templates/_public_status_card.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_public_status_card.html.ep')
-rw-r--r--templates/_public_status_card.html.ep7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/_public_status_card.html.ep b/templates/_public_status_card.html.ep
index 04a8938..6979ad7 100644
--- a/templates/_public_status_card.html.ep
+++ b/templates/_public_status_card.html.ep
@@ -155,7 +155,12 @@
<i class="material-icons small right sync-failed-marker grey-text" style="display: none;">sync_problem</i>
<span class="card-title"><%= $name %> ist gerade nicht eingecheckt</span>
<p>
- Zuletzt gesehen in <%= $journey->{arr_name} %>.
+ % if ($journey->{arr_name}) {
+ Zuletzt gesehen in <%= $journey->{arr_name} %>.
+ % }
+ % else {
+ Noch keine Zugfahrten geloggt.
+ % }
</p>
</div>
</div>