Sha256: 19afee34b324b3e746842259a5494c7582772203a21fe017e61df40114a6058e

Contents?: true

Size: 958 Bytes

Versions: 1

Compression:

Stored size: 958 Bytes

Contents

<%= cache [current_exhibit,cache_key_for_spotlight_exhibits] do %>
<div id="exhibit-masthead" class="jumbotron">
  <div class="container">
    <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>
    <div class="site-title h1">
      <%= current_exhibit.title %>
      <% if current_exhibit.subtitle %>
        <small><%= current_exhibit.subtitle %></small>
      <% end %>
    </div>
  </div>
</div>
<% end if current_exhibit %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blacklight-spotlight-0.2.0 app/views/shared/_exhibit_masthead.html.erb