]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.html.erb
Only show each note once is the user notes view
[rails.git] / app / views / site / index.html.erb
index 88bf4907320a8b98247ed5d5ecd5867ad2fc2fa7..c979c52bb857cfc205c4a820d5ae5645b9a0b16e 100644 (file)
   <div id="permalink">
     <a href="/" id="permalinkanchor" class="geolink llz layers object"><%= t 'site.index.permalink' %></a>
     <a href="/" id="shortlinkanchor"><%= t 'site.index.shortlink' %></a>
+    <%= link_to t("site.index.createnote"), notes_url(:format => :json),
+        :id => "createnoteanchor",
+        :data => { :minzoom => 12 },
+        :title => "javascripts.site.createnote_tooltip",
+        :class => "geolink"
+    %> 
   </div>
 </div>