Sha256: a99b01ab37a11a9a5a0b0e7b182c3864e0c203b95da68e7f945377c70c13e887

Contents?: true

Size: 1.22 KB

Versions: 2

Compression:

Stored size: 1.22 KB

Contents

<% if show_contact_form? %>
  <div id="report-problem-form">
    <%= render 'spotlight/shared/report_a_problem' %>
  </div>
<% end %>

<div class="masthead <%= 'image-masthead' if current_masthead %> <%= 'resource-masthead' if resource_masthead? %>">
  <% if current_masthead %>
    <span class='background-container' style="background-image: url('<%= current_masthead.iiif_url %>')"></span>
    <span class='background-container-gradient'></span>
  <% end %>

  <%= render 'shared/exhibit_navbar' if current_exhibit && resource_masthead? %>

  <div class="container site-title-container">
    <div class="site-title h2">
      <% if content_for? :masthead %>
        <%= content_for :masthead %>
      <% elsif current_exhibit %>
        <%= current_exhibit.title %>
        <% if current_exhibit.subtitle.present? %>
          <small><%= current_exhibit.subtitle %></small>
        <% end %>
      <% else %>
        <%= application_name %>
        <% if current_site.subtitle.present? %>
          <small><%= current_site.subtitle %></small>
        <% end %>
      <% end %>
    </div>
  </div>

  <%= render 'shared/exhibit_navbar' if current_exhibit && !resource_masthead? %>
</div>

<%= render 'shared/breadcrumbs' unless resource_masthead? %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blacklight-spotlight-3.0.0.alpha.2 app/views/shared/_masthead.html.erb
blacklight-spotlight-3.0.0.alpha.1 app/views/shared/_masthead.html.erb