]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/site.rhtml
Bugfix to the diary entry comment notifier with the missing closing %>
[rails.git] / app / views / layouts / site.rhtml
index f7e9304542265e6ade8a2ff96e8500918f7c07b5..0da605ee207709c77c2a6e5c249c9d48b828903a 100644 (file)
 
       <% if false %>
       <div id="donate" class="notice">
-        <%= t 'layouts.donate', :link => "<a href=\"http://donate.openstreetmap.org/\">#{donate_link_text}</a>" %>
+        <%= t 'layouts.donate', :link => "<a href=\"http://donate.openstreetmap.org/\">#{t('layouts.donate_link_text')}</a>" %>
       </div>
       <% end %>
 
       <div id="left_menu" class="left_menu">
-        <a href="http://wiki.openstreetmap.org">Help &amp; Wiki</a><br />
-        <a href="http://www.opengeodata.org/">News blog</a><br />
-        <a href="http://wiki.openstreetmap.org/index.php/Merchandise">Shop</a><br />
+        <a href="http://wiki.openstreetmap.org"><%= t 'layouts.help_wiki' %></a><br />
+        <a href="http://www.opengeodata.org/"><%= t 'layouts.news_blog' %></a><br />
+        <a href="http://wiki.openstreetmap.org/index.php/Merchandise"><%= t 'layouts.shop' %></a><br />
         <%= yield :left_menu %>
       </div>
 
       <div id="sotm" class="notice">
-        <%= t 'layouts.sotm' %>
+        <%= link_to image_tag("sotm.png", :alt => t('layouts.sotm'), :title => t('layouts.sotm'), :border => "0"), "http://www.stateofthemap.org/" %>
       </div>
 
       <%= yield :optionals %>
 
       <center>
         <div class="button" style="width: 115px">
-          <a href="http://donate.openstreetmap.org/"><img src="/images/donate.png" border="0" alt="<%= t 'layouts.alt_donation' %>" /></a>
+          <a href="http://donate.openstreetmap.org/"><img src="/images/donate.png" border="0" alt="<%= t 'layouts.alt_donation' %>" title="<%= t 'layouts.alt_donation' %>" /></a>
         </div>
 
         <div id="cclogo" class="button" style="width: 88px">