X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2f9a4d03375e09279b33ff2530421b4cc69cd817..370f4bf562845a864e425f25bb8279afcb7016c3:/app/views/layouts/site.html.erb diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb index 813fd50fe..be19d01cc 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 => 'sotm-us-ad.png', + :title => 'State of the Map USA', + :href =>'http://stateofthemap.us/'}].sample + + link_to ad[:href], :title => ad[:title] do + image_tag ad[:image], :class => :ad + end + %> +
+