Changeset ca358f2 in osmose-frontend


Ignore:
Timestamp:
Oct 28, 2012 5:45:01 PM (6 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Branches:
master
Children:
a471d0e
Parents:
7898057
git-author:
Jocelyn Jaubert <jocelyn.jaubert@…> (28/10/2012 17:43:23)
git-committer:
Jocelyn Jaubert <jocelyn.jaubert@…> (28/10/2012 17:45:01)
Message:

Fix josm zone link on popups

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • map.py

    r7898057 rca358f2  
    341341        "website": utils.website, 
    342342        "lat":lat, "lon":lon, 
     343        "minlat": float(lat) - 0.002, "maxlat": float(lat) + 0.002, 
     344        "minlon": float(lon) - 0.002, "maxlon": float(lon) + 0.002, 
    343345        "error_id":error_id, 
    344346        "title":title, "subtitle":subtitle, 
  • static/tpl/popup.tpl

    r3aad5cc rca358f2  
    7272    <a href="http://www.openstreetmap.org/?lat={{lat}}&lon={{lon}}&zoom=18" target="_blank">osmlink</a> 
    7373    <a href="http://www.openstreetmap.org/edit?lat={{lat}}&lon={{lon}}&zoom=18" target="_blank">potlatch</a> 
    74     <a href="http://localhost:8111/load_and_zoom?left={{minlon}}&bottom={{minlat}}&right={{maxlon}}&top={{maxlat}}&select={{reselems}}" target="hiddenIframe">josm zone</a> 
     74    <a href="http://localhost:8111/load_and_zoom?left={{minlon}}&bottom={{minlat}}&right={{maxlon}}&top={{maxlat}}&select={{elems_id}}" target="hiddenIframe">josm zone</a> 
    7575  </div> 
    7676  <div class="bulle_maj"> 
Note: See TracChangeset for help on using the changeset viewer.