Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

psuscl/view_catalog_action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

View Catalog Action Button

NOTE: This code has been moved into our general PUI customizations. This plugin is now read-only.

Adds a button to resource views in the ArchivesSpace public site so that a user may click through the library catalog, where they can view holdings and determine availability of collection materials.

This plugin assumes catalog keys are kept in string_1 in the User Defined fields in ArchivesSpace. Currently, to update this you will need to edit the plugin code directly. Ideally it would be configurable.

Because the button displays conditionally based on a user-defined string value, it must be activated with a partial. To activate it, add the following code to your config/config.rb file:

AppConfig[:pui_page_custom_actions] = {
  'record_type' => ['resource'],
  'erb_partial' => 'shared/view_catalog_action',
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%