X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a5a7f45d70a3028f374b4aa592efac39a769ca18..afce238f6ce3bf2ffe018302109f32f6fa031517:/app/views/layouts/_banner.html.erb diff --git a/app/views/layouts/_banner.html.erb b/app/views/layouts/_banner.html.erb index 4f24f538d..bbd9e22e2 100644 --- a/app/views/layouts/_banner.html.erb +++ b/app/views/layouts/_banner.html.erb @@ -1,4 +1,9 @@ <% unless (banner = next_banner()).nil? %> -<%= link_to (image_tag banner[:img], :srcset => banner[:srcset], :alt => banner[:alt], :title => banner[:alt]), banner[:link] %> - + <%= tag.div :id => "banner", :data => { :bs_theme => token_list(:dark => banner[:dark]) } do %> + <%= link_to (image_tag banner[:img], :srcset => banner[:srcset], :alt => banner[:alt], :title => banner[:alt]), banner[:link] %> + + <% end %> <% end %>