]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/offline.rhtml
more translations, and this time with stuff in the locale file too
[rails.git] / app / views / site / offline.rhtml
index d97a6ca90cb41a72f071e8e4b7500b0371ef4484..b960ab66d05347aedb40bba23b6d4bdd351cbed3 100644 (file)
@@ -1,3 +1,7 @@
-<p>The OpenStreetMap database is currently offline while
-   essential database maintenance work is carried out.
+<% if OSM_STATUS == :database_offline %>
+<p><%= t 'layouts.osm_offline' %>
 </p>
+<% else %>
+<p><%= t 'layouts.osm_read_only' %>
+</p>
+<% end  %>