X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ec89709b5bc2c80c1ea57b737e4c042a3f30ef78..c12f8959dd2059b4ea9d45caf716923d7589cbb0:/app/views/layouts/_banner.html.erb?ds=sidebyside diff --git a/app/views/layouts/_banner.html.erb b/app/views/layouts/_banner.html.erb index c7cc75c49..344c5ed71 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", :class => "position-relative", :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 %>