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>
8 <li><%= link_to t("browse.start_rjs.data_layer_name"), { :controller => :browse, :action => :start }, :id => "show_data" %></li>
12 <% content_for :left_menu do %>
13 <li><h4><%= link_to t("site.key.map_key"), {:action => :key}, :id => "open_map_key", :title => t("site.key.map_key_tooltip") %></h4></li>
16 <%= render :partial => 'home_link' %>
17 <%= render :partial => 'sidebar' %>
18 <%= render :partial => 'search' %>
22 <p><%= t 'site.index.js_1' %></p>
23 <p><%= t 'site.index.js_2' %></p>
29 <a href="/" id="permalinkanchor" class="geolink llz layers object"><%= t 'site.index.permalink' %></a>
30 <a href="/" id="shortlinkanchor"><%= t 'site.index.shortlink' %></a>
31 <%= link_to t("site.index.createnote"), notes_url(:format => :json),
32 :id => "createnoteanchor",
33 :data => { :minzoom => 12 },
34 :title => "javascripts.site.createnote_tooltip",
40 <iframe id="linkloader" style="display: none">
43 <div id="attribution">
46 <td class="attribution_license"><%= t'site.index.license.license_url' %></td>
47 <td class="attribution_project"><%= t'site.index.license.project_url' %></td>
50 <td colspan="2" class="attribution_notice"><%= t'site.index.license.copyright' %></td>