X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/45a77397f3f6b97d671999c45abe4ad818955d65..c25a20ff133d0ff9c865ac2cbc0076544cb4f16b:/app/views/site/index.rhtml diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index 94b24debf..3e0400ce4 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -8,6 +8,14 @@ <%= render :partial => 'key' %> <%= render :partial => 'search' %> + +
@@ -21,7 +29,7 @@ Licensed under the Creative Commons Attribution-Share Alike 2.0 license -by the OpenStreetMap project and it's contributors. +by the OpenStreetMap project and its contributors. @@ -101,7 +109,7 @@ by the OpenStreetMap project and it's contributors. setMapCenter(centre, zoom); <% end %> - <% if layers %> + <% if !layers.empty? %> setMapLayers("<%= layers %>"); <% end %>