Skip to content

Commit

Permalink
fixes #163
Browse files Browse the repository at this point in the history
  • Loading branch information
Darren Hardy committed Dec 5, 2014
1 parent 3188035 commit 80b4f85
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app/views/catalog/_upper_metadata.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
<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>
Expand All @@ -34,5 +30,10 @@
<dt>Years</dt>
<dd itemprop="temporal"><%= document['dct_temporal_sm'].sort.uniq.join(', ') %>&nbsp;</dd>
<% end %>
<% if !@document.references.nil? && !@document.references.url.nil? %>
<% _url = @document.references.url.endpoint %>
<dt>More details at</dt>
<dd itemprop="url"><a href="<%= _url %>"><%= _url %></a>&nbsp;</dd>
<% end %>
</dl>
</div>

0 comments on commit 80b4f85

Please sign in to comment.