Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit a38d53b1 authored by Volker Krause's avatar Volker Krause

Show the train name too

trainline.eu puts train types in there ('TGV', 'ICE', etc).
parent 1cd3793d
......@@ -122,6 +122,7 @@ class TrainTrip
SEMANTIC_PROPERTY(QString, departurePlatform)
SEMANTIC_PROPERTY(TrainStation, departureStation)
SEMANTIC_PROPERTY(QDateTime, departureTime)
SEMANTIC_PROPERTY(QString, trainName)
SEMANTIC_PROPERTY(QString, trainNumber)
Q_PROPERTY(QString departureTimeLocalized READ departureTimeLocalized STORED false CONSTANT)
......
......@@ -16,7 +16,9 @@
</tr>
<tr>
<td>{{ item.reservationFor.departureTimeLocalized }}</td>
<td style="white-space: nowrap; text-align:center;">{{ item.reservationFor.trainNumber }}</td>
<td style="white-space: nowrap; text-align:center;">
{{ item.reservationFor.trainName }} {{ item.reservationFor.trainNumber }}
</td>
<td>{{ item.reservationFor.arrivalTimeLocalized }}</td>
</tr>
</table>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment