1 <% content_for :head do %>
2 <%= javascript_include_tag "index" %>
5 <% if @user and !@user.home_lon.nil? and !@user.home_lat.nil? %>
6 <% content_for :greeting do %>
7 <%= link_to t("layouts.home"), "#", :class => "set_position", :data => { :lat => @user.home_lat, :lon => @user.home_lon, :zoom => 15 }, :title => t("layouts.home_tooltip") %> |
11 <% unless STATUS == :api_offline or STATUS == :database_offline -%>
12 <% content_for :editmenu do -%>
13 <li><%= link_to t("browse.start_rjs.data_layer_name"), { :controller => :browse, :action => :start }, :id => "show_data" %></li>
17 <%= render :partial => 'sidebar' %>
18 <%= render :partial => 'key' %>
19 <%= render :partial => 'search' %>
23 <p><%= t 'site.index.js_1' %></p>
24 <p><%= t 'site.index.js_2' %></p>
30 <a href="/" id="permalinkanchor" class="geolink llz layers object"><%= t 'site.index.permalink' %></a>
31 <a href="/" id="shortlinkanchor"><%= t 'site.index.shortlink' %></a>
35 <iframe id="linkloader" style="display: none">
38 <div id="attribution">
41 <td class="attribution_license"><%= t'site.index.license.license_url' %></td>
42 <td class="attribution_project"><%= t'site.index.license.project_url' %></td>
45 <td colspan="2" class="attribution_notice"><%= t'site.index.license.copyright' %></td>