X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2f9a4d03375e09279b33ff2530421b4cc69cd817..bb48f2c136b66c59009e9354666471dadc611922:/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 813fd50fe..542bcca2a 100644 --- a/app/views/layouts/site.html.erb +++ b/app/views/layouts/site.html.erb @@ -65,6 +65,21 @@ <%= yield :left_menu %> +
+
+ <%= 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 + %> +
+