Skip to content

jackflaps/view_catalog_action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

View Catalog Action Button

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