Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/osulibraries/manage_user_defined_fields
This ArchivesSpace plugin hides any user defined fields that are default or not used for the specific type of item being created/edited
https://github.com/osulibraries/manage_user_defined_fields
Last synced: 22 days ago
JSON representation
This ArchivesSpace plugin hides any user defined fields that are default or not used for the specific type of item being created/edited
- Host: GitHub
- URL: https://github.com/osulibraries/manage_user_defined_fields
- Owner: osulibraries
- Created: 2014-10-08T19:22:00.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2014-10-09T17:51:19.000Z (over 9 years ago)
- Last Synced: 2024-03-26T00:23:33.917Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 113 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-archivesspace - Manager User Defined Fields
README
This plugin hides any user defined fields that are default or not used for the specific type of item being created/edited (like Resources won't see user defined fields that are set up for Accessions).
To install, just activate the plugin in your config/config.rb file by
including an entry such as:AppConfig[:plugins] = ['manage_user_defined_fields']
And add the user defined field labels that you are using (defined in the common/locales/en.yml or frontend/config/locales/en.yml) for resources and accessions in frontend/assets/manage_user_defined_fields.js (arrays defined as RESOURCE_UDFS and ACCESSION_UDFS accordingly).
NOTE:
If you're using a path prefix, be sure to include the prefix in the
layout_head.html.erb (line 5).