1 <% content_for :head do %>
2 <%= javascript_include_tag "index" %>
5 <% unless STATUS == :api_offline or STATUS == :database_offline -%>
6 <% content_for :editmenu do -%>
7 <li><%= link_to t("browse.start_rjs.notes_layer_name"), notes_url(:format => :json), :id => "show_notes" %></li>
11 <% content_for :left_menu do %>
12 <li><h4><%= link_to t("site.key.map_key"), {:action => :key}, :id => "open_map_key", :title => t("site.key.map_key_tooltip") %></h4></li>
15 <%= render :partial => 'home_link' %>
16 <%= render :partial => 'sidebar' %>
17 <%= render :partial => 'search' %>
21 <p><%= t 'site.index.js_1' %></p>
22 <p><%= t 'site.index.js_2' %></p>
28 <a href="/" id="permalinkanchor" class="geolink llz layers object"><%= t 'site.index.permalink' %></a>
29 <a href="/" id="shortlinkanchor"><%= t 'site.index.shortlink' %></a>
30 <%= link_to t("site.index.createnote"), notes_url(:format => :json),
31 :id => "createnoteanchor",
32 :data => { :minzoom => 12 },
33 :title => "javascripts.site.createnote_tooltip",
39 <iframe id="linkloader" style="display: none">
42 <div id="attribution">
45 <td class="attribution_license"><%= t'site.index.license.license_url' %></td>
46 <td class="attribution_project"><%= t'site.index.license.project_url' %></td>
49 <td colspan="2" class="attribution_notice"><%= t'site.index.license.copyright' %></td>