Put full vehicle number and link to the map in vehicles.html tpl
| | |
| | | ksort($vehicles); |
| | | |
| | | $dbMapping = $this->db->getAllByNum(); |
| | | foreach($dbMapping as &$vehicle) { |
| | | $vehicle['vehicle'] = $this->vehicleTypes->getByNumber($vehicle['num']); |
| | | } |
| | | unset($vehicle); |
| | | ksort($dbMapping); |
| | | |
| | | if($saveConfig) { |
| | |
| | | {% for map in mapping %} |
| | | <tr> |
| | | <td> |
| | | {{ map.num | e }} |
| | | <a href="https://mpk.jacekk.net/map.html#!{{ map.vehicle.num }}" class="low{{ map.vehicle.low | default }}"> |
| | | {{ map.vehicle.num | e }} |
| | | </a> |
| | | </td> |
| | | <td> |
| | | {{ map.line | default('?') | e }} |