X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0884e7b43192bf924f505d12e3d9810e61da7ac9..ababece2cc0e5caf946242d097e80ae7c3dc877d:/app/views/layouts/site.html.erb
diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb
index 4c12bfe14..c572b1926 100644
--- a/app/views/layouts/site.html.erb
+++ b/app/views/layouts/site.html.erb
@@ -51,6 +51,7 @@
<% 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 %>
+ <%= yield :editmenu %>
@@ -86,18 +87,18 @@
<% 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 %>
-
- <%= raw t 'layouts.donate', :link => "
#{t('layouts.donate_link_text')}" %>
+
<% end %>
@@ -138,12 +139,14 @@
:partners => link_to(t('layouts.partners_partners'), t('layouts.partners_url')) %>
+