summaryrefslogtreecommitdiff
path: root/templates/_checked_in.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_checked_in.html.ep')
-rw-r--r--templates/_checked_in.html.ep7
1 files changed, 1 insertions, 6 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep
index 9621ba6..1a58091 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -7,12 +7,7 @@
<span class="card-title center-align">Ziel wählen</span>
% }
<span class="card-title center-align">
- % if ($journey->{train_line}) {
- <b><%= $journey->{train_type} %> <%= $journey->{train_line} %></b> <%= $journey->{train_no} %>
- % }
- % else {
- <%= $journey->{train_type} %> <%= $journey->{train_no} %>
- % }
+ %= include '_format_train', journey => $journey
</span>
% if ($journey->{comment}) {
<p><%= $journey->{comment} %></p>