summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/_checked_in.html.ep10
-rw-r--r--templates/changelog.html.ep5
2 files changed, 15 insertions, 0 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep
index 91cd37a..0f1dcb2 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -44,6 +44,16 @@
% if ($journey->{departure_countdown} > 0 and $journey->{dep_platform}) {
<br/>von Gleis <%= $journey->{dep_platform} %>
% }
+ % if (my $wr = $journey->{wagonorder}) {
+ <br/>
+ %= $wr->direction == 100 ? '→' : '←';
+ % for my $wagon ($wr->wagons) {
+ % if (not ($wagon->is_locomotive or $wagon->is_powercar)) {
+ %= $wagon->number || $wagon->type
+ % }
+ % }
+ %= $wr->direction == 100 ? '→' : '←';
+ % }
</div>
<div class="progress" style="height: 1ex;">
<div class="determinate" style="width: <%= sprintf('%.2f', 100 * ($journey->{journey_completion} // 0)); %>%;"></div>
diff --git a/templates/changelog.html.ep b/templates/changelog.html.ep
index ed0bff8..e511100 100644
--- a/templates/changelog.html.ep
+++ b/templates/changelog.html.ep
@@ -9,6 +9,11 @@
<i class="material-icons left">add</i> Angabe der Ausstiegsseite für
einzelne Züge und Zielbahnhöfe.
</p>
+ <p>
+ <i class="material-icons left">add</i> Angabe der Wagenreihung vor der
+ Abfahrt. Derzeit sind Wagenreihungen nur für Fernverkehrszüge
+ verfügbar.
+ </p>
</div>
</div>