[FIX] website_event_track_session: show only day when track is not today in "Other Tracks" list

Purpose is to gain space and avoid having long date strings with timezone and
all unrelevant details.

LINKS

Coming from internal feedback while deploying online support
Task ID-2314778
PR #55634

X-original-commit: 2e67ba9f16dc4614e94027820408699dc3dabed5
This commit is contained in:
David Beguin
2020-08-14 12:06:10 +00:00
committed by Thibault Delavallée
parent 07f2eab889
commit d01fc5e55c
@@ -195,13 +195,9 @@
t-options="{'widget': 'duration', 'digital': False, 'add_direction': True,
'unit': 'second', 'round': 'minute', 'format': 'narrow'}"/>
</small>
<small t-elif="track_other.date"
class="badge badge-light">
<span t-esc="track_other.date"
t-options="{'widget': 'datetime', 'format': 'short'}"/>
<span t-esc="track_other.date"
t-options="{'widget': 'datetime', 'tz_name': track_other.event_id.date_tz, 'format': 'ZZZZ'}"/>
</small>
<div t-elif="track_other.date" class="badge badge-light">
<span t-esc="track_other.date" t-options="{'widget': 'datetime', 'tz_name': track_other.event_id.date_tz, 'format': 'MMM. dd'}"/>
</div>
</div>
</div>
</template>