X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ae8cc604a1b7477a79f505592942c2d754825bc1..d50b0fb978f205e079a69c279a735c33137abfbf:/app/views/layouts/site.html.erb?ds=inline
diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb
index 14cf7b003..2d0c60a96 100644
--- a/app/views/layouts/site.html.erb
+++ b/app/views/layouts/site.html.erb
@@ -51,6 +51,9 @@
<% Editors::ALL_EDITORS.each do |editor| %>
<%= link_to t('layouts.edit_with', :editor => t("editor.#{editor}.description")), {:controller => 'site', :action => 'edit', :editor => editor}, {:id => editor + 'anchor', :class => "geolink llz object"} %>
<% end %>
+ <% unless STATUS == :api_offline or STATUS == :database_offline %>
+ <%= link_to_function(t('browse.start_rjs.data_layer_name'), 'showData()') %>
+ <% end %>
@@ -68,36 +71,36 @@
<%= yield :optionals %>
<% unless @user %>
-
+
<% end %>
<% if STATUS == :database_offline or STATUS == :api_offline %>
-
- <%= t 'layouts.osm_offline' %>
+
<% elsif STATUS == :database_readonly or STATUS == :api_readonly %>
-
- <%= t 'layouts.osm_read_only' %>
+
<% end %>
<% if false %>
-
-
-
-
+
+