Changeset b3374f6 in OpenWorkouts-current for ow/templates/profile.pt
- Timestamp:
- Feb 12, 2019, 5:55:33 PM (5 years ago)
- Branches:
- current, feature/docs, master
- Children:
- c999b73e
- Parents:
- f713dbc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/templates/profile.pt
rf713dbc rb3374f6 144 144 <div class="workout-map" tal:condition="workout.has_gpx"> 145 145 <a href="" tal:attributes="href request.resource_url(workout)"> 146 <img src="" tal:attributes="src workout.map_screenshot(request); 147 alt workout.title; title workout.title"> 146 <tal:has-screenshot tal:condition="workout.map_screenshot is not None"> 147 <img src="" tal:attributes="src request.static_url(workout.map_screenshot); 148 alt workout.title; title workout.title"> 149 </tal:has-screenshot> 150 <tal:has-not-screenshot tal:condition="workout.map_screenshot is None"> 151 <img src="" tal:attributes="src request.static_url('ow:static/media/img/no_map.png'); 152 alt workout.title; title workout.title; class 'js-needs-map'"> 153 </tal:has-not-screenshot> 148 154 </a> 149 155 </div> … … 187 193 188 194 <script type="text/javascript"> 195 var map_shots = owjs.map_shots({ 196 img_selector: 'img.js-needs-map', 197 }) 198 map_shots.run(); 199 189 200 var y_axis_labels = { 190 201 "distance": "Kilometers",
Note: See TracChangeset
for help on using the changeset viewer.