Sha256: b34590455769bf63bba267fdfc2e2dacf9fc2ca8e85fef0d7c5a976294fc4313

Contents?: true

Size: 1.13 KB

Versions: 3

Compression:

Stored size: 1.13 KB

Contents

<%= render(Blacklight::SearchContextComponent.new(search_context: @search_context, search_session: search_session)) if search_session['document_id'] == @document.id %>

<% @page_title = t('blacklight.search.show.title', document_title: document_presenter(@document).html_title, application_name: application_name).html_safe %>
<% content_for(:head) { render_link_rel_alternates } %>

<%= render (blacklight_config.view_config(:show).document_component).new(presenter: document_presenter(@document), component: :div, show: true) do |component| %>
  <% component.with_title(as: 'h1', classes: '', link_to_document: false, actions: false) %>
  <% component.with_footer do %>
    <% if @document.respond_to?(:export_as_openurl_ctx_kev) %>
      <!-- COinS, for Zotero among others. -->
      <span class="Z3988" title="<%= @document.export_as_openurl_ctx_kev(document_presenter(@document).display_type) %>"></span>
    <% end %>
  <% end %>

  <% blacklight_config.view_config(:show).partials.each do |partial| %>
    <% component.with_partial do %>
      <%= render_document_partial @document, partial, component: component %>
    <% end %>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blacklight-8.0.0.beta4 app/views/catalog/_show_main_content.html.erb
blacklight-8.0.0.beta3 app/views/catalog/_show_main_content.html.erb
blacklight-8.0.0.beta2 app/views/catalog/_show_main_content.html.erb