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.ep9
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep
index 2d39842..1002654 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -3,8 +3,13 @@
<div class="card">
<div class="card-content">
<i class="material-icons small right sync-failed-marker grey-text" style="display: none;">sync_problem</i>
- <span class="card-title">
- Eingecheckt in <%= $journey->{train_type} %> <%= $journey->{train_no} %>
+ <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} %>
+ % }
</span>
% if ($journey->{comment}) {
<p><%= $journey->{comment} %></p>