openstreetmap-website/app/views/site/offline.html.erb
Tom Hughes f07819d81a Rework application configuration
Use a preinitializer to load the settings from application.yml so
that they are available as early as possible. All settings can also
be overridden using environment variables.

The ad-hoc settins in environment.rb are then moved to this new
system so we have one consistent location for settings.
2010-08-04 22:06:05 +01:00

7 lines
139 B
Text

<% if STATUS == :database_offline %>
<p><%= t 'layouts.osm_offline' %>
</p>
<% else %>
<p><%= t 'layouts.osm_read_only' %>
</p>
<% end %>