1 <% content_for :content do %>
2 <% if Settings.status == "database_offline" or Settings.status == "api_offline" %>
3 <div class="alert alert-warning text-center">
4 <p class="my-2"><%= t "layouts.osm_offline" %></p>
6 <% elsif Settings.status == "database_readonly" or Settings.status == "api_readonly" %>
7 <div class="alert alert-warning text-center">
8 <p class="my-2"><%= t "layouts.osm_read_only" %></p>
10 <% elsif !current_user.data_public? %>
11 <p><%= t ".not_public" %></p>
12 <p><%= t ".not_public_description_html", :user_page => (link_to t(".user_page_link"), edit_account_path(:anchor => "public")) %></p>
13 <p><%= t ".anon_edits_html", :link => link_to(t(".anon_edits_link_text"), t(".anon_edits_link")) %></p>
15 <%= render :partial => preferred_editor %>