Sha256: 38d836a873cb6c9e419f97d58531fce6a16662a6f41f570b2e37aedfc6d8c902

Contents?: true

Size: 1 KB

Versions: 2

Compression:

Stored size: 1 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>More details at</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.8.0 app/views/catalog/_upper_metadata.html.erb
geoblacklight-1.7.1 app/views/catalog/_upper_metadata.html.erb