Skip to content
This repository has been archived by the owner on May 14, 2022. It is now read-only.

Update EZID to have ARKs point to public landing pages when available #1152

Merged
merged 1 commit into from
Apr 7, 2017

Conversation

escowles
Copy link
Member

@escowles escowles commented Apr 5, 2017

  • Link to OrangeLight or FindingAids when appropriate.
  • Link to Plum when no remote metadata.

Fixes #1151

if record.source_metadata_identifier.blank?
return ManifestBuilder::ManifestHelper.new.polymorphic_url(record)
elsif RemoteRecord.bibdata?(record.source_metadata_identifier)
return "https://pulsearch.princeton.edu/catalog/#{record.source_metadata_identifier}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Append #view so it jumps to content?

@coveralls
Copy link

coveralls commented Apr 7, 2017

Coverage Status

Coverage increased (+3.0e-05%) to 99.973% when pulling 757b202 on arks-point-to-public-urls into e66eb75 on master.

@tpendragon tpendragon merged commit 2cd3d3d into master Apr 7, 2017
@tpendragon tpendragon deleted the arks-point-to-public-urls branch April 7, 2017 17:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants