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

🐛 Add custom rendering for license #2019

Merged
merged 1 commit into from
Oct 10, 2023
Merged

Conversation

jeremyf
Copy link
Contributor

@jeremyf jeremyf commented Oct 10, 2023

Prior to this commit, the License would render as a plain URL. With
this change, we are now coercing the license into a URL that is labeled
and titled with the name of the license.

This is copied and modified based on Rights show partial

Related to:

Screenshot of Before Changes
Screenshot of After Changes after-changes

@jeremyf jeremyf added the patch-ver for release notes label Oct 10, 2023
Prior to this commit, the License would render as a plain URL.  With
this change, we are now coercing the license into a URL that is labeled
and titled with the name of the license.

This is copied and modified based on [Rights show partial][1]

Related to:

- https://github.com/scientist-softserv/adventist-dl/issues/620

[1]: https://github.com/samvera/hyrax/blob/b334e186e77691d7da8ed59ff27f091be1c2a700/app/views/records/show_fields/_rights.html.erb
@jeremyf jeremyf merged commit 6a2d624 into adventist_dev Oct 10, 2023
2 of 3 checks passed
@jeremyf jeremyf deleted the add-license-rendering branch October 10, 2023 14:21
@jeremyf
Copy link
Contributor Author

jeremyf commented Oct 10, 2023

@kirkkwang kirkkwang mentioned this pull request Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants