diff --git a/TrainDelayed/Scripts/app/searchModels.js b/TrainDelayed/Scripts/app/searchModels.js index d488894..4ddf46e 100644 --- a/TrainDelayed/Scripts/app/searchModels.js +++ b/TrainDelayed/Scripts/app/searchModels.js @@ -128,7 +128,7 @@ var TrainDelayed; if (train && train.Cancellations.length > 0) { var can = train.Cancellations[0]; - var canTxt = can.Type; + var canTxt = "Cancelled " + can.Type; if (can.CancelledAtStanoxCode) { var canTiploc = TrainDelayed.StationTiploc.findStationTiploc(can.CancelledAtStanoxCode, tiplocs); this.cancelledAtStation = canTiploc.Description.toLowerCase(); diff --git a/TrainDelayed/Scripts/app/searchModels.ts b/TrainDelayed/Scripts/app/searchModels.ts index 6863fba..eb9a72a 100644 --- a/TrainDelayed/Scripts/app/searchModels.ts +++ b/TrainDelayed/Scripts/app/searchModels.ts @@ -156,7 +156,7 @@ module TrainDelayed.Search { if (train && train.Cancellations.length > 0) { var can = train.Cancellations[0]; - var canTxt = can.Type; + var canTxt = "Cancelled " + can.Type; if (can.CancelledAtStanoxCode) { var canTiploc = StationTiploc.findStationTiploc(can.CancelledAtStanoxCode, tiplocs); this.cancelledAtStation = canTiploc.Description.toLowerCase(); diff --git a/TrainDelayed/search-results.cshtml b/TrainDelayed/search-results.cshtml index dcb79fc..2e8e85b 100644 --- a/TrainDelayed/search-results.cshtml +++ b/TrainDelayed/search-results.cshtml @@ -95,7 +95,7 @@ - +