| | |
| | | var type; |
| | | var low; // low floor: 0 = no, 1 - semi, 2 - full |
| | | |
| | | // Single exception - old id used in one case |
| | | if(id == 831) { |
| | | id = 216; |
| | | } |
| | | |
| | | if(101 <= id && id <= 173) { |
| | | prefix = 'HW'; |
| | | type = 'E1'; |
| | |
| | | */ |
| | | |
| | | for(var i = 0, il = data.generalAlerts.length; i < il; i++) { |
| | | addParaWithText(times_alerts, data.generalAlerts[i]); |
| | | addParaWithText(times_alerts, data.generalAlerts[i].title); |
| | | } |
| | | |
| | | for(var i = 0, il = data.old.length; i < il; i++) { |
| | |
| | | times_alerts, |
| | | lang.line_alert_pattern |
| | | .replace('$line', data.routes[i].name) |
| | | .replace('$alert', data.routes[i].alerts[j]) |
| | | .replace('$alert', data.routes[i].alerts[j].title) |
| | | ); |
| | | } |
| | | } |