Changes in ow/templates/workout.pt [8af3272:d1c4782] in OpenWorkouts-current
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/templates/workout.pt
r8af3272 rd1c4782 87 87 <tal:c tal:content="context.rounded_distance"></tal:c> km 88 88 </li> 89 <li tal:condition="context.speed"> 90 <tal:t i18n:translate="">Speed:</tal:t> 91 <tal:t i18n:translate="">Avg.</tal:t> 92 <tal:c tal:content="round(context.speed['avg'], 1)"></tal:c> km/h | 93 <tal:t i18n:translate="">Max.</tal:t> 94 <tal:c tal:content="round(context.speed['max'], 1)"></tal:c> km/h 95 </li> 89 96 <li tal:condition="hr"> 90 97 <tal:t i18n:translate="">Heart Rate:</tal:t> … … 145 152 <script type="text/javascript" tal:condition="context.has_gpx"> 146 153 var workout_map = owjs.map({ 154 map_id: 'map', 147 155 latitude: ${start_point['latitude']}, 148 156 longitude: ${start_point['longitude']}, … … 152 160 end_icon: '${request.static_url('ow:static/components/leaflet-gpx/pin-icon-end.png')}', 153 161 shadow: '${request.static_url('ow:static/components/leaflet-gpx/pin-shadow.png')}', 162 elevation: true, 163 zoom_control: true 154 164 }); 155 165 workout_map.render();
Note: See TracChangeset
for help on using the changeset viewer.