]> git.openstreetmap.org Git - rails.git/commitdiff
Replace CC by-sa license link with ODbL in history feeds
authorAnton Khorev <tony29@yandex.ru>
Tue, 15 Apr 2025 13:34:48 +0000 (16:34 +0300)
committerAnton Khorev <tony29@yandex.ru>
Tue, 15 Apr 2025 13:34:48 +0000 (16:34 +0300)
app/assets/images/cc_button.png [deleted file]
app/views/changesets/index.atom.builder

diff --git a/app/assets/images/cc_button.png b/app/assets/images/cc_button.png
deleted file mode 100644 (file)
index 5749f65..0000000
Binary files a/app/assets/images/cc_button.png and /dev/null differ
index 6556f12bfe1641f54d79522abfb71510a2d3fb9b..cd437c6378b87d25a1ca5b5bb4a5e8a1a2673f15 100644 (file)
@@ -10,9 +10,7 @@ atom_feed(:language => I18n.locale, :schema_date => 2009,
   feed.logo image_url("mag_map-rss2.0.png")
 
   feed.rights :type => "xhtml" do |xhtml|
-    xhtml.a :href => "https://creativecommons.org/licenses/by-sa/2.0/" do |a|
-      a.img :src => image_url("cc_button.png"), :alt => "CC by-sa 2.0"
-    end
+    xhtml.a "Open Data Commons Open Database License", :href => "https://opendatacommons.org/licenses/odbl/"
   end
 
   @changesets.each do |changeset|