Changeset a0085a2 in OpenWorkouts-current for ow/templates


Ignore:
Timestamp:
Dec 17, 2018, 12:20:52 PM (5 years ago)
Author:
borja <borja@…>
Branches:
current, feature/docs, master
Children:
8e5f92c
Parents:
f24ad73
Message:

Added missing leaflet elevation third-party js library.

We have been using this for elevation charts in the workout details page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/templates/workout.pt

    rf24ad73 ra0085a2  
    1616    <link rel="stylesheet" tal:condition="context.has_gpx"
    1717          href="${request.static_url('ow:static/components/Leaflet/leaflet.css')}" />
     18    <link rel="stylesheet" tal:condition="context.has_gpx"
     19          href="${request.static_url('ow:static/components/Leaflet.Elevation/dist/leaflet.elevation-0.0.4.css')}" />
    1820
    1921    <!--!
     
    129131            tal:condition="context.has_gpx"></script>
    130132
    131     <script src="${request.static_url('ow:static/leaflet-gpx/gpx.js')}"
     133    <script src="${request.static_url('ow:static/components/leaflet-gpx/gpx.js')}"
     134            tal:condition="context.has_gpx"></script>
     135
     136    <script src="${request.static_url('ow:static/components/Leaflet.Elevation/dist/leaflet.elevation-0.0.4.min.js')}"
    132137            tal:condition="context.has_gpx"></script>
    133138
Note: See TracChangeset for help on using the changeset viewer.