Changeset 0c18869 in OpenWorkouts-current


Ignore:
Timestamp:
Jan 15, 2019, 10:16:58 PM (5 years ago)
Author:
borja <borja@…>
Branches:
current, feature/docs, master
Children:
8af3272
Parents:
2d91474
Message:

Fixed static url for the start/end/shadow icons used by leaflet-gpx

in the workout details page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/templates/workout.pt

    r2d91474 r0c18869  
    164164         zoom: 11,
    165165         gpx_url: '${request.resource_url(context, 'gpx')}',
    166          start_icon: '${request.static_url('ow:static/leaflet-gpx/pin-icon-start.png')}',
    167          end_icon: '${request.static_url('ow:static/leaflet-gpx/pin-icon-end.png')}',
    168          shadow: '${request.static_url('ow:static/leaflet-gpx/pin-shadow.png')}',
     166         start_icon: '${request.static_url('ow:static/components/leaflet-gpx/pin-icon-start.png')}',
     167         end_icon: '${request.static_url('ow:static/components/leaflet-gpx/pin-icon-end.png')}',
     168         shadow: '${request.static_url('ow:static/components/leaflet-gpx/pin-shadow.png')}',
    169169     });
    170170     workout_map.render();
Note: See TracChangeset for help on using the changeset viewer.