Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Let the relator display "as a label" (bolded etc). #94

Open
rosiel opened this issue Mar 10, 2023 · 0 comments
Open

[FEATURE] Let the relator display "as a label" (bolded etc). #94

rosiel opened this issue Mar 10, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@rosiel
Copy link
Member

rosiel commented Mar 10, 2023

Overview of feature request

When viewing a Linked Agent field, the field value includes the relator, a colon, and the value. However, this can be hard to scan. Ideally the relator could show up "like a label" for the content it describes.

It's this line here: https://github.com/Islandora/controlled_access_terms/blob/2.x/src/Plugin/Field/FieldFormatter/TypedRelationFormatter.php#L32

What kind of user is the feature intended for?
Site Designers

What inspired the request?
Trying to put metadata display into a table, and realized Linked Agents looked a little funky.

What existing behavior do you want changed?
Concatenating the relator to the value

Any brand new behavior do you want to add to Islandora?
Use something else - template? - to let the relator and value be formatted (incuding as a label to match other field labels?)

Any related open or closed issues to this feature request?

@rosiel rosiel added the enhancement New feature or request label Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant