Sha256: a0e5e0e7895e914d89ae0a6b52045708ca68aef9bf07c1c5a1c7934760e145c9

Contents?: true

Size: 1.79 KB

Versions: 6

Compression:

Stored size: 1.79 KB

Contents

<% document ||= @document %>
<div class="geoblacklight-view-panel">

  <dl class="dl-horizontal">
    <% if document['dc_creator_sm'].present? %>
      <dt>Authors</dt>
      <dd itemprop="author"><%= document['dc_creator_sm'].join(', ') %>&nbsp;</dd>
    <% end %>
    <%= render 'abstract_metadata' %>
    <% if document['dc_publisher_s'].present? %>
      <dt>Publishers</dt>
      <dd itemprop="publisher"><%= document['dc_publisher_s'] %>&nbsp;
          <% if document['dct_issued_s'].present? %>
            <span itemprop="datePublished">
                (<%= document['dct_issued_s'] %>)
            </span>
          <% end %>       
      </dd>
    <% end %>
    <% if document['dct_isPartOf_sm'].present? %>
      <dt>Collections</dt>
      <dd itemprop="isPartOf"><%= document['dct_isPartOf_sm'].sort.uniq.join(', ') %>&nbsp;</dd>
    <% end %>
    <% if document['dct_spatial_sm'].present? %>
      <dt>Places</dt>
      <dd itemprop="spatial"><%= render_facet_links('dct_spatial_sm', document['dct_spatial_sm']) %>&nbsp;</dd>
    <% end %>
    <% if document['dc_subject_sm'].present? %>
      <dt>Subjects</dt>
      <dd itemprop="keywords"><%= render_facet_links('dc_subject_sm', document['dc_subject_sm']) %>&nbsp;</dd>
    <% end %>
    <% if document['dct_temporal_sm'].present? %>
      <dt>Years</dt>
      <dd itemprop="temporal"><%= document['dct_temporal_sm'].sort.uniq.join(', ') %>&nbsp;</dd>
    <% end %>
    <% if document['dct_provenance_s'].present? %>
      <dt>Held by</dt>
      <dd><%= document['dct_provenance_s'] %></dd>
    <% 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

6 entries across 6 versions & 1 rubygems

Version Path
geoblacklight-0.5.1 app/views/catalog/_upper_metadata.html.erb
geoblacklight-0.5.0 app/views/catalog/_upper_metadata.html.erb
geoblacklight-0.4.2 app/views/catalog/_upper_metadata.html.erb
geoblacklight-0.4.1 app/views/catalog/_upper_metadata.html.erb
geoblacklight-0.4.0 app/views/catalog/_upper_metadata.html.erb
geoblacklight-0.3.4 app/views/catalog/_upper_metadata.html.erb