Sha256: 01f2c9bbd6f36e78724708f3b56e2bbff349ead65f1ee8b2d3025060075db302

Contents?: true

Size: 1.62 KB

Versions: 3

Compression:

Stored size: 1.62 KB

Contents

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

  <dl class="dl-horizontal">
    <% unless document['dc_creator_sm'].nil? %>
      <dt>Author</dt>
      <dd itemprop="author"><%= document['dc_creator_sm'].join(', ') %>&nbsp;</dd>
  <% end %>
    <% unless document['dc_publisher_s'].nil? %>
      <dt>Publisher</dt>
      <dd itemprop="publisher"><%= document['dc_publisher_s'] %>&nbsp;</dd>
  <% end %>
    <dt>Year</dt>
    <dd itemprop="dateCreated"><%= document['solr_year_i'] %>&nbsp;</dd>
    <dt>Abstract</dt>
    <dd id="" itemprop="description"><%= abstract_truncator(document['dc_description_s']) %>&nbsp;</dd>
    <% unless document['dct_isPartOf_sm'].nil? %>
      <dt>Collection</dt>
      <dd itemprop="isPartOf"><%= document['dct_isPartOf_sm'].sort.uniq.join(', ') %>&nbsp;</dd>
    <% end %>
    <% if document['dct_provenance_s'] == 'Stanford' and not document['dc_identifier_s'].nil? %>
      <dt>Citation</dt>
      <dd itemprop="url"><%= link_to document['dc_identifier_s'], document['dc_identifier_s'] %>&nbsp;</dd>
    <% end %>
    <% unless document['dct_spatial_sm'].nil? %>
      <dt>Places</dt>
      <dd itemprop="spatial"><%= render_facet_links('dct_spatial_sm', document['dct_spatial_sm']) %>&nbsp;</dd>
    <% end %>
    <% unless document['dc_subject_sm'].nil? %>
      <dt>Subjects</dt>
      <dd itemprop="keywords"><%= render_facet_links('dc_subject_sm', document['dc_subject_sm']) %>&nbsp;</dd>
    <% end %>
    <% unless document['dct_temporal_sm'].nil? %>
      <dt>Years</dt>
      <dd itemprop="temporal"><%= document['dct_temporal_sm'].sort.uniq.join(', ') %>&nbsp;</dd>
    <% end %>
  </dl>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
geoblacklight-0.2.2 app/views/catalog/_upper_metadata.html.erb
geoblacklight-0.2.1 app/views/catalog/_upper_metadata.html.erb
geoblacklight-0.2.0 app/views/catalog/_upper_metadata.html.erb