X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a36f3558dd43dd5a598e36dd21fd5f7d2b4a94f5..5e17fa82497dabca91432f223ce4a17554511086:/app/views/layouts/site.html.erb
diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb
index d36681d97..bd77966db 100644
--- a/app/views/layouts/site.html.erb
+++ b/app/views/layouts/site.html.erb
@@ -13,7 +13,7 @@
:alt => t('layouts.logo.alt_text')),
root_path) %>
<%= t 'layouts.project_name.h1' %>
- <%= t('layouts.tag_line') %>
+ <%= t('layouts.tag_line') %>
<%= yield :optionals %>
<% unless @user %>
@@ -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 => 'sotm-us-ad.png',
+ :title => 'State of the Map USA',
+ :href =>'http://stateofthemap.us/'},
+ {: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
+ %>
+
+
- <%= h(t('layouts.make_a_donation.text')) %>
+ <%= h(t('layouts.make_a_donation.text')) %>