Sha256: 85190f4623d92aa88e5c80b14aa9836ed59a0077d8ce1f023f9376eab4063d3e
Contents?: true
Size: 1.59 KB
Versions: 10
Compression:
Stored size: 1.59 KB
Contents
<%= render 'previous_next_doc' if @search_context && search_session['document_id'] == @document.id %> <% @page_title = t('blacklight.search.show.title', document_title: Deprecation.silence(Blacklight::BlacklightHelperBehavior) { document_show_html_title }, application_name: application_name).html_safe %> <% content_for(:head) { render_link_rel_alternates } %> <%= render (blacklight_config.show.document_component || Blacklight::DocumentComponent).new(document: @document, component: :div, title_component: :h1, show: true) do |component| %> <% component.with(:footer) do %> <% if @document.respond_to?(:export_as_openurl_ctx_kev) %> <!-- // COinS, for Zotero among others. // This document_partial_name(@document) business is not quite right, // but has been there for a while. --> <span class="Z3988" title="<%= @document.export_as_openurl_ctx_kev(Deprecation.silence(Blacklight::RenderPartialsHelperBehavior) { document_partial_name(@document) }) %>"></span> <% end %> <% end %> <%# Use :body for complete backwards compatibility (overriding the component body markup), but if the app explicitly opted-in to components, make the partials data available as :partials to ease migrations pain %> <% component.with(blacklight_config.show.document_component.blank? && blacklight_config.view_config(:show).partials.any? ? :body : :partials) do %> <div id="doc_<%= @document.id.to_s.parameterize %>"> <%= render_document_partials @document, blacklight_config.view_config(:show).partials, component: component %> </div> <% end %> <% end %>
Version data entries
10 entries across 10 versions & 1 rubygems