diff options
Diffstat (limited to 'templates/includes/map_sidebar_template.html')
-rw-r--r-- | templates/includes/map_sidebar_template.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/includes/map_sidebar_template.html b/templates/includes/map_sidebar_template.html index ad1af1c..18dd118 100644 --- a/templates/includes/map_sidebar_template.html +++ b/templates/includes/map_sidebar_template.html @@ -1,8 +1,11 @@ +{% load truncateletters %} +{% load slugify_under %} <div class="map-legend"> <h4>Trips</h4> <ul> - <li><a onclick="addRoute('slglEhrrnUmd|{A}o}|UjraoC_sdbI`zk|Akr__Ccwp_@z}jMa{y@lua@it~SnelD{|lW~qq@u{u[_upPvo|Gxa`Nok~BfzwK{fnIkioe@vwzGktzC??}`eBigpk@atlBvpeG`KvIhgswAmyxcBqiz]fdcJygzG_s|IrpdAqbeCrLqkaEqsbCefq@yyKdyrAy{z@djiB`qc@tzl@hu`BxnmCn~cAwseCji@ggaEbizDy|z@bq{D{j_@ukY}`fIgeIaaa@zhUiyYfia@lx`@pw}K}o{Fpa}BczRgwb@qg{AclLmpqAd`eBuaSqwcBzlJb_vAxjfDjwqDquEfaxAy}C}yl@}qlE|{wFz`aEnkEa`eF~nmDhj}LotxFdq~Dm~pCb}vD~bf@k~gDducJ_bmEtd`EnfiCjsY_nVw`Xzdj@u{M`lsBgtoHpr{EorlHltoJvdhb@`sfGf~h@|nfAtns@{d~@~lOimX}hd@oolAqjrd@sjeD{ozeFj_heRz`yWayftB`}jF|}zM|ngUivdHmwiDrsiJeumNv_uIkh}@v_kAuxvGhwoEumdEyjwFimxFofSx~mJct|Jca~BdgotAtqbq@zbwoMd}wi@pp_`Aopz@vvinE','BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB','#FF0000',26.7, -25.7, 2);" href="#">Around the World ('05-'06)</a></li> - <li><a onclick="addRoute('yi_iAp}mmOlzd@egy@njcCcpOq{hDxyqAai_@kvhSio[b|zVjhNbmZ','BBBBBBB','#FF0000',12.0554, -85.1880, 8);" href="#">Nicaragua ('08)</a></li> + {% for route in route_list %} + <li><a onclick="showRoute('{{route.template_var_name}}', {{route.zoom}}, '{{route.geometry.centroid.y}}','{{route.geometry.centroid.x}}');" href="#">{{route.name}}</a></li> + {% endfor %} </ul> <h4>Regions</h4> <ul> |