summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sass/app.scss18
-rw-r--r--templates/_wagon.html.ep2
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)) {
- <br/><span class="grouptype"><%= ($wr->train_descriptions)[$wagon->group_index]{short} %> → <%= $wr->{data}{istformation}{allFahrzeuggruppe}[$wagon->group_index]{zielbetriebsstellename} %></span>
+ <br/><span class="groupno"><%= $wr->train_type %> <%= ($wr->groups)[$wagon->group_index]->train_no %> → <%= $wr->{data}{istformation}{allFahrzeuggruppe}[$wagon->group_index]{zielbetriebsstellename} %></span> <span class="grouptype"><%= ($wr->train_descriptions)[$wagon->group_index]{short} %></span>
% }
</div>