This pull request adds some logic to determine if a past journey's (from the journeys table) wagongroups included ICE0304, the rainbow ICE.
Based on this (as well as existing in transit data), the web interface has been updated to the rainbow flag in more places:
In front of the "ICE %number" string in the traveler facing checked in view
After the "ICE %number" link in monthly and yearly history, as well as recent journeys (the alignment looked odd when the rainbow flag was in front of the link)
(ignore the upper ICE 725, something broke and it's database entry doesn't have wagon groups)
In the journey detail view in front of the "ICE %number" string as well as in front of the wagongroup "ICE0304"
This pull request adds some logic to determine if a past journey's (from the journeys table) wagongroups included ICE0304, the rainbow ICE.
Based on this (as well as existing in transit data), the web interface has been updated to the rainbow flag in more places:
In front of the "ICE %number" string in the traveler facing checked in view
After the "ICE %number" link in monthly and yearly history, as well as recent journeys (the alignment looked odd when the rainbow flag was in front of the link)
(ignore the upper ICE 725, something broke and it's database entry doesn't have wagon groups)
In the journey detail view in front of the "ICE %number" string as well as in front of the wagongroup "ICE0304"