Sha256: a6e704186e2243ae3893784eb60a3678bfde5588fbcae9936898cf7078e8fd3d

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

<% document ||= @document %>
<% doc_presenter = show_presenter(document) %>
<div class="geoblacklight-view-panel">
  
  <%# From https://github.com/projectblacklight/blacklight/blob/master/app/views/catalog/_show_default.html.erb %>
  <%# default partial to display solr document fields in catalog show view -%>
  <dl class="dl-horizontal">
    <%# render 'abstract_metadata' %>
    <% document_show_fields(document).each do |solr_fname, field| %>
      <% if should_render_show_field? document, field %>
        <dt class="blacklight-<%= solr_fname.parameterize %>"><%= render_document_show_field_label document, field: solr_fname %></dt>
        <dd class="blacklight-<%= solr_fname.parameterize %>"><%= doc_presenter.field_value solr_fname %></dd>
      <% end %>
    <% end %>
    <% if !@document.references.nil? && !@document.references.url.nil? %>
      <dt><%= t('geoblacklight.metadata.more_details') %></dt>
      <dd itemprop="url"><%= link_to @document.references.url.endpoint, @document.references.url.endpoint %></dd>
    <% end %>
  </dl>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
geoblacklight-1.9.1 app/views/catalog/_upper_metadata.html.erb
geoblacklight-1.9.0 app/views/catalog/_upper_metadata.html.erb