]> git.openstreetmap.org Git - rails.git/blob - app/views/layouts/_banner.html.erb
Check the oauth token and then use the capabilities directly
[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 %>