X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2f9a4d03375e09279b33ff2530421b4cc69cd817..34edfdb9bae297144331b46dfe52319d13e519a3:/app/views/layouts/site.html.erb diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb index 813fd50fe..65723d97f 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 + %> +
+