[FIX] website_event_track: human-readable display of track durations
This commit is contained in:
parent
4837952ad4
commit
be99dbf16a
|
@ -224,7 +224,7 @@
|
|||
<b>Date</b><br/>
|
||||
<span t-field="track.date" t-field-options='{"hide_seconds":"True"}'/><br/>
|
||||
<b>Duration</b><br/>
|
||||
<span t-esc="'%.2f' % (track.duration)"/> hours<br/>
|
||||
<span t-field="track.duration" t-field-options="{"widget": "duration", "unit": "hour"}"/><br/>
|
||||
<b>Location</b><br/>
|
||||
<span t-field="track.location_id"/><br/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue