]> git.openstreetmap.org Git - rails.git/blob - app/views/layouts/_banner.html.erb
Only fetch client side translations for the current locale
[rails.git] / app / views / layouts / _banner.html.erb
1 <% unless (banner = next_banner()).nil? %>
2 <%= link_to (image_tag banner[:img], :alt => banner[:alt], :title => banner[:alt]), banner[:link] %>
3 <div class="close-wrap" id="<%= banner_cookie(banner[:id]) %>"><span class="icon close"></span></div>
4 <% end %>