]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_map.html.erb
Change "Close" button to "Resolve" in notes popup
[rails.git] / app / views / browse / _map.html.erb
index e0428b4ac938f6468fb64f2d10ab197ea9072b39..ed3cc0faf169b829b828caab84b00ad67a1bce1d 100644 (file)
@@ -22,6 +22,7 @@
      elsif map.instance_of? Note
        data = {
          :type => "note",
+         :id   => map.id,
          :lon  => map.lon,
          :lat  => map.lat
        }
@@ -60,7 +61,7 @@
   </li>
 </ul>
 
-  <% unless map.instance_of? Changeset or map.instance_of? Note %>
+  <% unless map.instance_of? Changeset %>
   <ul class='secondary-actions clearfix'>
     <li>
       <%= link_to t("browse.map.larger." + map.class.to_s.downcase),