Changeset 46f5cec in osmose-frontend


Ignore:
Timestamp:
Mar 8, 2014 10:32:32 PM (6 years ago)
Author:
Frédéric Rodrigo <fred.rodrigo@…>
Children:
78212ac
Parents:
4692325
git-author:
Frédéric Rodrigo <fred.rodrigo@…> (07/03/2014 16:32:40)
git-committer:
Frédéric Rodrigo <fred.rodrigo@…> (08/03/2014 22:32:32)
Message:

No josm link on mobile device

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • static/map/style.css

    r37c10cd r46f5cec  
    189189} 
    190190 
     191.leaflet-touch .josm { 
     192  display: none; 
     193} 
     194 
    191195ul.leaflet-control-geocoder-alternatives { 
    192196  width: 60vw; 
  • views/map/popup.tpl

    rbd84360 r46f5cec  
    2222  <%/relation%> 
    2323  <%#node%> 
    24       <a href="http://localhost:8111/load_object?objects=n<%id%>" target="hiddenIframe">josm</a> 
     24      <a href="http://localhost:8111/load_object?objects=n<%id%>" target="hiddenIframe" class="josm">josm</a> 
    2525  <%/node%> 
    2626  <%#way%> 
    27       <a href="http://localhost:8111/load_object?objects=w<%id%>" target="hiddenIframe">josm</a> 
     27      <a href="http://localhost:8111/load_object?objects=w<%id%>" target="hiddenIframe" class="josm">josm</a> 
    2828  <%/way%> 
    2929  <%#relation%> 
    30       <a href="http://localhost:8111/import?url=http://www.openstreetmap.org/api/0.6/<%type%>/<%id%>/full" target="hiddenIframe">josm</a> 
     30      <a href="http://localhost:8111/import?url=http://www.openstreetmap.org/api/0.6/<%type%>/<%id%>/full" target="hiddenIframe" class="josm">josm</a> 
    3131  <%/relation%> 
    3232      <a href="#" class="editor_edit" data-type="<%type%>" data-id="<%id%>" data-error="<%error_id%>">edit</a> 
     
    3535      <div class="fix"> 
    3636        <div class="fix_links"> 
    37             <a href="http://localhost:8111/import?url=http://{{website}}/api/0.2/error/<%error_id%>/fix/<%num%>" target="hiddenIframe">josm fix</a> 
     37            <a href="http://localhost:8111/import?url=http://{{website}}/api/0.2/error/<%error_id%>/fix/<%num%>" target="hiddenIframe" class="josm">josm fix</a> 
    3838            <a href="#" class="editor_fix" data-type="<%type%>" data-id="<%id%>" data-error="<%error_id%>" data-fix="<%num%>">fix</a> 
    3939        </div> 
     
    6161    <div class="bulle_elem"> 
    6262      <div class="fix"> 
    63         <a class="link" href="http://localhost:8111/import?url=http://{{website}}/api/0.2/error/<%error_id%>/fix/<%num%>" target="hiddenIframe">josm fix</a> 
     63        <a class="link" href="http://localhost:8111/import?url=http://{{website}}/api/0.2/error/<%error_id%>/fix/<%num%>" target="hiddenIframe" class="josm">josm fix</a> 
    6464  <%#add%> 
    6565        <div class="add"> + <b><%k%></b> = <%v%></div> 
     
    7979    <a href="http://www.openstreetmap.org/?lat=<%lat%>&lon=<%lon%>&zoom=18" target="_blank">osmlink</a> 
    8080    <a href="http://www.openstreetmap.org/edit?lat=<%lat%>&lon=<%lon%>&zoom=18" target="_blank">potlatch</a> 
    81     <a href="http://localhost:8111/load_and_zoom?left=<%minlon%>&bottom=<%minlat%>&right=<%maxlon%>&top=<%maxlat%>&select=<%elems_id%>" target="hiddenIframe">josm zone</a> 
     81    <a href="http://localhost:8111/load_and_zoom?left=<%minlon%>&bottom=<%minlat%>&right=<%maxlon%>&top=<%maxlat%>&select=<%elems_id%>" target="hiddenIframe" class="josm">josm zone</a> 
    8282  </div> 
    8383  <div class="bulle_maj"> 
Note: See TracChangeset for help on using the changeset viewer.