X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/774aa0c875157f8a1322920d0498c80025abadc6..1ae7872ed89612353cba641a6b77e86f963789d7:/app/views/layouts/map.html.erb?ds=sidebyside diff --git a/app/views/layouts/map.html.erb b/app/views/layouts/map.html.erb index c6467382a..1daae059e 100644 --- a/app/views/layouts/map.html.erb +++ b/app/views/layouts/map.html.erb @@ -27,20 +27,16 @@ <% end %> - - State of the Map 2014 - dismiss - + <% 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 %> -