aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsabelle K <hi@f2k1.de>2021-02-18 19:36:00 +0100
committerIsabelle K <hi@f2k1.de>2021-02-18 19:36:00 +0100
commit30cbccd5f5f4100d6b863a9fb9b1c014a055efff (patch)
tree79820e383d44f38da3f90fd7ff0d07aecdff1bc1
parentfbf90c9a14310015f58d018c6041bdd2b54bb3fa (diff)
downloadoeffi-web-30cbccd5f5f4100d6b863a9fb9b1c014a055efff.tar.gz
oeffi-web-30cbccd5f5f4100d6b863a9fb9b1c014a055efff.tar.bz2
oeffi-web-30cbccd5f5f4100d6b863a9fb9b1c014a055efff.zip
show canceled journeys on overview as struck through
-rw-r--r--templates/journeys.tpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/journeys.tpl b/templates/journeys.tpl
index f322502..f789016 100644
--- 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}}