X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d6ebc3f5c183f021db1d05b03ecb1c728bb8ed73..677f391ec1e49b58136717bbd45fdee00008855a:/app/views/layouts/site.rhtml
diff --git a/app/views/layouts/site.rhtml b/app/views/layouts/site.rhtml
index 75bac67ab..49c0ae376 100644
--- a/app/views/layouts/site.rhtml
+++ b/app/views/layouts/site.rhtml
@@ -1,101 +1,132 @@
-
+
+
- <%= javascript_include_tag 'main.js' %>
-
- <%= javascript_include_tag 'tile.js' %>
- <%= javascript_include_tag 'site.js' %>
-
-
-<% if @flash[:notice] %>
-
<%= @flash[:notice] %>
-<% end %>
-
- <%= @content_for_layout %>
-
-
-
-
+ <% if @notice || flash[:notice] %>
+
<%= @notice || flash[:notice] %>
+ <% end %>
-
-
- OpenStreetMap
- 
- The Free Wiki World Map
-
-
- <% unless @user %>
-
- OpenStreetMap is a free editable map of the whole world. It is made by people like you.
-
- OpenStreetMap allows you to view, edit and use geographical data in a collaborative way from anywhere on Earth.
-
- OpenStreetMap's hosting is kindly supported by the
UCL VR Centre and
bytemark.
+ <%= yield %>
- <% end %>
-
+
+