ctucx.git: oeffi-web

[nimlang] oeffisearch fork that works without javascript

commit 30cbccd5f5f4100d6b863a9fb9b1c014a055efff
parent fbf90c9a14310015f58d018c6041bdd2b54bb3fa
Author: Isabelle K <hi@f2k1.de>
Date: Thu, 18 Feb 2021 19:36:00 +0100

show canceled journeys on overview as struck through
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/templates/journeys.tpl b/templates/journeys.tpl
@@ -38,11 +38,11 @@
 			<tbody>
 				{{#JOURNEYS}}
 				<tr data-link="/{{REQ_ID}}/{{ID}}">
-					<td><span>{{DEPARTURE}}{{#DEPARTURE_HAS_DELAY}} <b>({{DEPARTURE_DELAY}})</b>{{/DEPARTURE_HAS_DELAY}}</span></td>
-					<td><span>{{ARRIVAL}}{{#ARRIVAL_HAS_DELAY}} <b>({{ARRIVAL_DELAY}})</b>{{/ARRIVAL_HAS_DELAY}}</span></td>
-					<td><span>{{DURATION}}</span></td>
-					<td><span>{{CHANGES}}</span></td>
-					<td><span>{{PRODUCTS}}</span></td>
+					<td><span>{{#IS_CANCELLED}}<s>{{/IS_CANCELLED}}{{DEPARTURE}}{{#DEPARTURE_HAS_DELAY}} <b>({{DEPARTURE_DELAY}})</b>{{/DEPARTURE_HAS_DELAY}}{{#IS_CANCELLED}}</s>{{/IS_CANCELLED}}</span></td>
+					<td><span>{{#IS_CANCELLED}}<s>{{/IS_CANCELLED}}{{ARRIVAL}}{{#ARRIVAL_HAS_DELAY}} <b>({{ARRIVAL_DELAY}})</b>{{/ARRIVAL_HAS_DELAY}}{{#IS_CANCELLED}}</s>{{/IS_CANCELLED}}</span></td>
+					<td><span>{{#IS_CANCELLED}}<s>{{/IS_CANCELLED}}{{DURATION}}{{#IS_CANCELLED}}</s>{{/IS_CANCELLED}}</span></td>
+					<td><span>{{#IS_CANCELLED}}<s>{{/IS_CANCELLED}}{{CHANGES}}{{#IS_CANCELLED}}</s>{{/IS_CANCELLED}}</span></td>
+					<td><span>{{#IS_CANCELLED}}<s>{{/IS_CANCELLED}}{{PRODUCTS}}{{#IS_CANCELLED}}</s>{{/IS_CANCELLED}}</span></td>
 					<td><a class="details-button icon-arrow3" href="/{{REQ_ID}}/{{ID}}">{{LABEL_DETAILS}}</a></td>
 				</tr>
 				{{/JOURNEYS}}