scientist-softserv / iiif_print

A gem for Hyrax/Samvera for displaying PDF pages in a IIIF Compliant viewer
Apache License 2.0
4 stars 1 forks source link

Hide custom terms from resource forms #359

Closed laritakr closed 3 weeks ago

laritakr commented 3 weeks ago

Story

This is a partial fix for https://github.com/scientist-softserv/hykuup_knapsack/issues/240 and is tied in with a change in hyrax to support display: false

Expected Behavior Before Changes

IiifPrint custom terms always appear on resource forms.

Expected Behavior After Changes

IiifPrint custom terms can be hidden via yaml display: false in the form definition.

Screenshots / Video

Screenshots ## Before ![Screenshot 2024-06-20 at 2 31 04 PM](https://github.com/scientist-softserv/iiif_print/assets/17851674/ba0669b9-3a73-4226-b880-7aa62ba47262) ## After ![Screenshot 2024-06-20 at 2 29 46 PM](https://github.com/scientist-softserv/iiif_print/assets/17851674/0e6900c4-5ba8-4c80-a78b-9a2d90d5849e)

Notes