]> git.openstreetmap.org Git - rails.git/blob - app/views/layouts/_offline_flash.erb
Move map offline flash to partial
[rails.git] / app / views / layouts / _offline_flash.erb
1 <% if %w[database_offline api_offline].include? Settings.status %>
2   <%= t("layouts.osm_offline") %>
3 <% elsif %w[database_readonly api_readonly].include? Settings.status %>
4   <%= t("layouts.osm_read_only") %>
5 <% end %>