X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ea9080ef80bc937af479cb2ab3a258419a832040..f3b319cb4f9521ca2fb1f514c8b368bd894bab3b:/app/views/layouts/site.html.erb?ds=sidebyside diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb index 5c53d62d3..542bcca2a 100644 --- a/app/views/layouts/site.html.erb +++ b/app/views/layouts/site.html.erb @@ -38,11 +38,6 @@

<%= t 'layouts.osm_read_only' %>

<% end %> - <% if false %> - - <% end %> +
+
+ <%= ad = [{:image => 'sotm-birmingham-ad.png', + :title => 'State of the Map Birmingham', + :href =>'http://stateofthemap.org/'}, + {:image => 'donate-ad.png', + :title => 'Server Donation Drive', + :href =>'http://donate.openstreetmap.org/'}].sample + + link_to ad[:href], :title => ad[:title] do + image_tag ad[:image], :class => :ad + end + %> +
+