]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.html.erb
Use OAuth for notes API calls and require authentication to close
[rails.git] / app / views / site / index.html.erb
index 88bf4907320a8b98247ed5d5ecd5867ad2fc2fa7..3efdd9289fd873fbb9a4697777c2406dc52b50f3 100644 (file)
 
 <div id="map">
   <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>
+    <ul class="secondary-actions">
+      <li><a href="/" id="permalinkanchor" class="geolink llz layers object"><%= t 'site.index.permalink' %></a></li>
+      <li><a href="/" id="shortlinkanchor"><%= t 'site.index.shortlink' %></a></li>
+      <li><%= link_to t("site.index.createnote"), notes_url(:format => :json),
+          :id => "createnoteanchor",
+          :data => { :minzoom => 12 },
+          :title => "javascripts.site.createnote_tooltip",
+          :class => "geolink"
+      %></li>
+    </ul>
   </div>
 </div>
 
@@ -38,3 +46,4 @@
     </tr>
   </table>
 </div>