]> git.openstreetmap.org Git - rails.git/blob - app/views/site/edit.html.erb
Use relation icon instead of word in containing relations
[rails.git] / app / views / site / edit.html.erb
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>
5     </div>
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>
9     </div>
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>
14   <% else %>
15     <%= render :partial => preferred_editor %>
16   <% end %>
17 <% end %>