From 11aa875f6e1f25a14a8a6d6e2c590873baa5662d Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 27 Apr 2024 18:16:49 +0200 Subject: wagon order: show train numbers for wings --- sass/app.scss | 18 +++++++++++++++--- templates/_wagon.html.ep | 2 +- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/sass/app.scss b/sass/app.scss index 71e8425..d69e41e 100644 --- a/sass/app.scss +++ b/sass/app.scss @@ -165,10 +165,22 @@ div.content { color: $link-color; } - .grouptype { + .groupno { color: $fg; } + .grouptype { + color: $fg2; + } + + .grouptype:before { + content: "("; + } + + .grouptype:after { + content: ")"; + } + .uicunknown { color: $fg3; } @@ -199,7 +211,7 @@ div.content { font-weight: bold; } - .uic78::before { + .uic78:before { content: "-"; } @@ -217,7 +229,7 @@ div.content { color: $fg3; } - .uiccheck::before { + .uiccheck:before { content: "-"; } } diff --git a/templates/_wagon.html.ep b/templates/_wagon.html.ep index 66cf6e8..ce3789b 100644 --- a/templates/_wagon.html.ep +++ b/templates/_wagon.html.ep @@ -87,6 +87,6 @@ % } % } % if ($multi and defined $wagon->group_index and (not defined $prev_gi or $wagon->group_index != $prev_gi)) { -
<%= ($wr->train_descriptions)[$wagon->group_index]{short} %> → <%= $wr->{data}{istformation}{allFahrzeuggruppe}[$wagon->group_index]{zielbetriebsstellename} %> +
<%= $wr->train_type %> <%= ($wr->groups)[$wagon->group_index]->train_no %> → <%= $wr->{data}{istformation}{allFahrzeuggruppe}[$wagon->group_index]{zielbetriebsstellename} %> <%= ($wr->train_descriptions)[$wagon->group_index]{short} %> % } -- cgit v1.2.3