]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/site.html.erb
Update to rails 3
[rails.git] / app / views / layouts / site.html.erb
index 9cb6d3df081b9a722eded277ca906b6eb3937c85..9bf39d9b9343d63d65407d6e5d843abefda711e5 100644 (file)
         </ul>
       </div>
 
-      <div id="sotm">
-        <%= link_to image_tag("sotm.png", :alt => t('layouts.sotm2011'), :title => t('layouts.sotm2011'), :border => "0"), "http://stateofthemap.org/register-now/" %>
-      </div>
-
       <center>
         <div class="donate">
           <a href="http://donate.openstreetmap.org/" title="<%= h(t('layouts.make_a_donation.title')) %>"><%= h(t('layouts.make_a_donation.text')) %></a>
         </div>
       </center>
     </div>
+    <% if defined?(PIWIK_LOCATION) and defined?(PIWIK_SITE) -%>
+    <%= render :partial => "layouts/piwik" %>
+    <% end -%>
   </body>
 </html>