aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authormarcinzelent <zelent.marcin@gmail.com>2017-12-08 11:29:13 +0100
committermarcinzelent <zelent.marcin@gmail.com>2017-12-08 11:29:13 +0100
commit96f25c46fb1c1cc686ff35d734d10bb1a9c17352 (patch)
tree0e486cedb61b4a98be9f08d3886711aa25de7fa6 /app
parent8147707052ee5281a5749ce1c1b85cc2613658cf (diff)
Changed to proper train schedule.
Diffstat (limited to 'app')
-rw-r--r--app/Resources/views/default/TrainSchedule.html.twig24
1 files changed, 10 insertions, 14 deletions
diff --git a/app/Resources/views/default/TrainSchedule.html.twig b/app/Resources/views/default/TrainSchedule.html.twig
index a2c8572..efc94ec 100644
--- a/app/Resources/views/default/TrainSchedule.html.twig
+++ b/app/Resources/views/default/TrainSchedule.html.twig
@@ -4,25 +4,21 @@
<table class="table">
<thead class="thead">
<tr class="tr">
- <th>Track</th>
- <th>Train type</th>
- <th>Train number</th>
- <th>Destination name</th>
- <th>Arrival</th>
- <th>Departure</th>
- <th>Delay</th>
+ <th>Name</th>
+ <th>Time</th>
+ <th>Date</th>
+ <th>Destination</th>
+ <th>AQI</th>
</tr>
</thead>
<tbody class="tbody">
<tr class="tr">
{% for table in data %}
- <td class="td">{{ table.Track }}</td>
- <td class="td">{{ table.TrainType }}</td>
- <td class="td">{{ table.TrainNumber }}</td>
- <td class="td">{{ table.DestinationName }}</td>
- <td class="td">{{ table.ScheduledArrival }}</td>
- <td class="td">{{ table.ScheduledDeparture }}</td>
- <td class="td">{{ table.DepartureDelay }}</td>
+ <td class="td">{{ table.name }}</td>
+ <td class="td">{{ table.time }}</td>
+ <td class="td">{{ table.date }}</td>
+ <td class="td">{{ table.finalStop }}</td>
+ <td class="td">{{ table.direction }}</td>
</tr>
</tbody>
{% endfor %}