diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-04-27 18:16:49 +0200 | 
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-04-27 18:16:49 +0200 | 
| commit | 11aa875f6e1f25a14a8a6d6e2c590873baa5662d (patch) | |
| tree | 9985829598fd9ba82db401bc86da8621e965e502 | |
| parent | c812c32d214c2c97eed875e85d00d4cc3c7c6982 (diff) | |
wagon order: show train numbers for wings
| -rw-r--r-- | sass/app.scss | 18 | ||||
| -rw-r--r-- | 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)) { -      <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> | 
