Sha256: 4116479948b438c4c633489b760e805a777bc7a6e7a9052261fa34240f0f079f
Contents?: true
Size: 1.42 KB
Versions: 3
Compression:
Stored size: 1.42 KB
Contents
<% if current_exhibit %> <div id="exhibit-masthead" class="<%= exhibit_masthead? ? 'jumbotron with-exhibit-masthead' : 'with-page-masthead' %><%= ' with-image' if current_masthead %>"> <% if current_masthead %> <span class='background-container' style="background-image: url('<%= image_path(current_masthead.image.cropped) %>')"></span> <span class='background-container-gradient'></span> <% end %> <div class="container"> <%= cache [current_exhibit, cache_key_for_spotlight_exhibits] do %> <ul class="more-exhibits nav navbar-nav navbar-sm"> <% if Spotlight::Exhibit.many? %> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"><%= t(:'.more_exhibits') %> <b class="caret"></b></a> <ul class="dropdown-menu"> <% Spotlight::Exhibit.accessible_by(current_ability).where.not(id: current_exhibit).each do |exhibit| %> <li> <%= link_to exhibit.title, [spotlight, exhibit] %> </li> <% end %> </ul> </li> <% end %> </ul> <% end if current_exhibit %> <div class="site-title h1"> <% if content_for? :masthead %> <%= content_for :masthead %> <% else %> <%= current_exhibit.title %> <% if current_exhibit.subtitle %> <small><%= current_exhibit.subtitle %></small> <% end %> <% end %> </div> </div> </div> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems