]> git.openstreetmap.org Git - rails.git/commitdiff
Fix missing </div> and wrong translation names in layout database offline alert box.
authorThomas Wood <grand.edgemaster@gmail.com>
Thu, 11 Jun 2009 18:25:44 +0000 (18:25 +0000)
committerThomas Wood <grand.edgemaster@gmail.com>
Thu, 11 Jun 2009 18:25:44 +0000 (18:25 +0000)
app/views/layouts/site.html.erb

index 779ff6cb3d0def7af412cec13eec3891c524f745..757ee9f155c4201989346d9234331048f7dd1f1a 100644 (file)
 
       <% if OSM_STATUS == :database_offline or OSM_STATUS == :api_offline %>
       <div id="alert">
-        <%= t 'layouts.offline' %>
+        <%= t 'layouts.osm_offline' %>
       </div>
       <% elsif OSM_STATUS == :database_readonly or OSM_STATUS == :api_readonly %>
       <div id="alert">
-        <%= t 'layouts.read_only' %>
+        <%= t 'layouts.osm_read_only' %>
+      </div>
       <% end %>
 
       <% if false %>