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 3 cdl fields and cdl's own attribute rows #643

Merged
merged 3 commits into from
Aug 1, 2023

Conversation

summer-cook
Copy link
Contributor

Story

Add missing CDL fields to work show page

Screenshots / Video

Fields showing on work show page w/ reshare theme https://github.com/scientist-softserv/palni-palci/pull/new/632-cdl-not-showing-metadata-for-admins

<%= presenter.attribute_to_html(:rights_notes, render_as: :linked, html_dl: true) %>
<%= presenter.attribute_to_html(:extent, html_dl: true) %>
<%= presenter.attribute_to_html(:bibliographic_citation, html_dl: true) %>
<%= presenter.attribute_to_html(:contributing_library, html_dl: true) %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

contributing library should only be visible to admins

<%= presenter.attribute_to_html(:extent, html_dl: true) %>
<%= presenter.attribute_to_html(:bibliographic_citation, html_dl: true) %>
<%= presenter.attribute_to_html(:contributing_library, html_dl: true) %>
<%= presenter.attribute_to_html(:library_catalog_identifier, html_dl: true) %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

library_catalog_idenifier should be visible to admins only

<%= presenter.attribute_to_html(:bibliographic_citation, html_dl: true) %>
<%= presenter.attribute_to_html(:contributing_library, html_dl: true) %>
<%= presenter.attribute_to_html(:library_catalog_identifier, html_dl: true) %>
<%= presenter.attribute_to_html(:chronology_note, html_dl: true) %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chronology_note should be visible to admins only

@summer-cook summer-cook merged commit 4176ee8 into main Aug 1, 2023
7 checks passed
@summer-cook summer-cook deleted the 632-cdl-not-showing-metadata-for-admins branch August 1, 2023 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants