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

ANW-310 - for the PUI PDF title page, use record title if there is no finding aid title #1310

Merged
merged 5 commits into from Jul 21, 2018

Conversation

cdibella
Copy link
Contributor

Updated to use record display string if there is no finding aid title

Updated to use record display string if there is no finding aid title
@cdibella
Copy link
Contributor Author

Please check this to see if my logic and item selected to be displayed in place of finding aid title are correct to resolve this JIRA.

some stylistic changes to h4 to make note labels less prominent
revised to make note label underlined rather than none
<h1 class="title"><%= record.finding_aid['title'] %></h1>
<h2 class="subtitle"><%= record.finding_aid['subtitle'] %></h2>
<% else %>
<h1 class="title"><%== record.display_string %></h1>
Copy link
Contributor

Choose a reason for hiding this comment

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

@cdibella I think this should be <%= record.display_string %> instead of <%== record.display_string %>

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! I made that change (and removed an unrelated change I was working on). If that's too messy, just let me know if it would be better to close this one and start over fresh.

removed unneeded = to display the correct thing when there isn't a finding aid title
@lmcglohon lmcglohon merged commit 0254129 into master Jul 21, 2018
@lmcglohon lmcglohon deleted the PUI-PDF branch July 21, 2018 13:07
@lmcglohon lmcglohon added this to the v2.5.0 milestone Aug 1, 2018
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.

None yet

2 participants