X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e338d1140884bb2bf3ed1b8fc85c890d0937ef8c..3b1f455dd9c7b64933f952350081728458d190a1:/app/views/site/index.html.erb diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index e52a1ce8c..25f0c8585 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -38,11 +38,7 @@ <%= t'site.index.license.project_url' %> - <%= - t'site.index.license.notice', - :license_name => t('site.index.license.license_name'), - :project_name => t('site.index.license.project_name') - %> + <%= t'site.index.license.copyright' %> @@ -132,14 +128,6 @@ end function mapInit(){ map = createMap("map"); - <% unless STATUS == :api_offline or STATUS == :database_offline %> - map.dataLayer = new OpenLayers.Layer("<%= I18n.t 'browse.start_rjs.data_layer_name' %>", { - visibility: false, - displayInLayerSwitcher: false - }); - map.addLayer(map.dataLayer); - <% end %> - <% unless object_zoom %> <% if bbox %> var bbox = new OpenLayers.Bounds(<%= minlon %>, <%= minlat %>, <%= maxlon %>, <%= maxlat %>);