From ecbd526956fbfaf3e59c27c25b72de2f4d780c7a Mon Sep 17 00:00:00 2001 From: Richard Fairhurst Date: Tue, 6 Apr 2010 13:55:33 +0000 Subject: [PATCH] New, more helpful and compliant copyright page --- app/views/layouts/site.html.erb | 13 +------- app/views/site/copyright.html.erb | 49 +++++++++++++++++++++++++++++++ config/routes.rb | 1 + 3 files changed, 51 insertions(+), 12 deletions(-) create mode 100644 app/views/site/copyright.html.erb diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb index 5679f3e8b..7eb833f57 100644 --- a/app/views/layouts/site.html.erb +++ b/app/views/layouts/site.html.erb @@ -117,6 +117,7 @@
<%= t 'layouts.help_wiki' %>
+ <%= link_to 'Copyright', {:controller => 'site', :action => 'copyright'} %>
<%= t 'layouts.news_blog' %>
<%= t 'layouts.shop' %>
<%= yield :left_menu %> @@ -128,18 +129,6 @@ - -
diff --git a/app/views/site/copyright.html.erb b/app/views/site/copyright.html.erb new file mode 100644 index 000000000..9b8fd8252 --- /dev/null +++ b/app/views/site/copyright.html.erb @@ -0,0 +1,49 @@ +

Copyright

+ +

+ +

OpenStreetMap is open data, licensed under the Creative Commons Attribution-ShareAlike 2.0 licence ('CC-BY-SA').

+ +

You are free to copy, distribute, transmit and adapt our maps and data, as long as you credit OpenStreetMap and its contributors. If you alter or build upon our maps or data, you may distribute the result only under the same or similar licence. The full legal code explains your rights and responsibilities.

+ +

How to credit OpenStreetMap

+ +

If you are using OpenStreetMap map images, we request that your credit reads at least "© OpenStreetMap contributors, CC-BY-SA". If you are using map data only, we request "Map data © OpenStreetMap contributors, CC-BY-SA".

+ +

Where possible, OpenStreetMap should be hyperlinked to http://www.openstreetmap.org/ and CC-BY-SA to http://creativecommons.org/licenses/by-sa/2.0/. If you are using a medium where links are not possible (e.g. a printed work), we suggest you direct your readers to www.openstreetmap.org (perhaps by expanding 'OpenStreetMap' to this full address) and to www.creativecommons.org.

+ +

Finding out more

+ +

Read more about using our data at the Legal FAQ. + +

OSM contributors are reminded never to add data from any copyrighted sources (e.g. Google Maps or printed maps) without explicit permission from the copyright holders.

+ +

Although OpenStreetMap is open data, we cannot provide a free-of-charge map API for third-party developers. See our Tile Usage Policy. + +

Our contributors

+ +

Our CC-BY-SA licence requires you to "give the Original Author credit reasonable to the medium or means You are utilizing". Individual OSM mappers do not request a credit over and above that to "OpenStreetMap contributors", but where data from a national mapping agency or other major source has been included in OpenStreetMap, it may be reasonable to credit them by directly reproducing their credit or by linking to it on this page.

+ + + + + +

Inclusion of data in OpenStreetMap does not imply that the original data provider endorses OpenStreetMap, provides any warranty, or accepts any liability.

diff --git a/config/routes.rb b/config/routes.rb index 0c0e62849..df6efef60 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -88,6 +88,7 @@ ActionController::Routing::Routes.draw do |map| map.root :controller => 'site', :action => 'index' map.connect '/', :controller => 'site', :action => 'index' map.connect '/edit', :controller => 'site', :action => 'edit' + map.connect '/copyright', :controller => 'site', :action => 'copyright' map.connect '/history', :controller => 'changeset', :action => 'list' map.connect '/history/feed', :controller => 'changeset', :action => 'list', :format => :atom map.connect '/export', :controller => 'site', :action => 'export' -- 2.39.5