-
Notifications
You must be signed in to change notification settings - Fork 150
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
records/macros/detail.html: Allow funding entry with award number only #2912
records/macros/detail.html: Allow funding entry with award number only #2912
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd lean toward putting the title first and simplifying the template.
invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/detail.html
Show resolved
Hide resolved
invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/detail.html
Outdated
Show resolved
Hide resolved
invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/detail.html
Show resolved
Hide resolved
invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/detail.html
Outdated
Show resolved
Hide resolved
Hi @tmorrell , is this the way you were thinking? |
Could you add one or two screenshots? |
Perhaps the wrong place here (surely the wrong place here!) but it's just a thought: did someone bother to look if the change has implications on OAI-PMH output? If the transformers rely on number AND title instead of number OR title?! |
@wgresshoff Funding isn't serialized in the default dc oai output. The DataCite output should be alright assuming I understand how |
invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/detail.html
Outdated
Show resolved
Hide resolved
The serialized formats are fine. Since inveniosoftware/invenio-vocabularies#429 has been released it would be great to get this change merged so the award number shows up consistently. There seems to be a bit of a spacing issue around the award number: I've just made a suggestion that re-works the spacing. I think we should merge after that change is added, unless folks want to do more re-designing. |
Sorry Tom that I missed that... Looks nice this way, I'd opt for merging this. |
Could you make the change #2912 (comment) in your fork? Then I should be able to merge it. |
…dm/records/macros/detail.html Co-authored-by: Tom Morrell <[email protected]>
Tested it, looks nice this way! |
📁 invenio-app-rdm (13.0.0b1.dev24 -> 13.0.0b1.dev27 🌈) 📦 release: v13.0.0b1.dev27 Revert "config: add record and membership comment notifications" 📦 release: v13.0.0b1.dev26 config: add record and membership comment notifications records/macros/detail.html: Allow funding entry with award number only (inveniosoftware/invenio-app-rdm#2912) bug: remove unnecessary p tag bug: close unclosed div release: v13.0.0b1.dev25 doi: handle UI for optional DOI feature theme: put banner message below other objects pages: do not create a static page if it already exists 📁 invenio-communities (17.7.1 -> 17.8.1 🌈) 📦 release: v17.8.1 Revert "notifications: add comment notification for record and membership" 📦 release: v17.8.0 organizations: updated knownOrganizations to use id notifications: add comment notification for record and membership 📁 invenio-mail (2.1.1 -> 2.2.0 🌈) release: v2.2.0 Add exception handling and retry mechanism (inveniosoftware/invenio-mail#67) * Add exception handling and retry mechanism. * Retry with exponential backoff with random jitter to prevent "Thundering herd problem". 📁 invenio-rdm-records (16.4.2 -> 16.6.1 🌈) 📦 release: v16.6.1 Revert "bug: add custom comment notification for record/draft requests" 📦 release: v16.6.0 bug: add custom comment notification for record/draft requests affiliations: update AffiliationsField value fix: use uow not self.uow serializers: bibtex: Conference paper not falling back to proceedings serializers: bibtex: Conference proceeding to proceedings serializers: bibtex: year and month using publication date 📦 release: v16.4.2 rights: fix serialize condition for controlled license rights: fix serialize condition for controlled license release: v16.5.1 optional-doi: fix validation check when user needs a DOI pids: add manage permission to be able to skip doi transitions checks release: v16.5.0 doi: handle UI for optional DOI feature 📁 invenio-theme (3.5.1 -> 3.5.2 🐛) release: v3.5.2 form: some UI fixed for the deposit form 📁 invenio-userprofiles (3.0.1 -> 3.0.2 🐛) release: v3.0.2 fixed 404 issue when pressing cancel 📁 invenio-vocabularies (6.9.0 -> 6.11.0 🌈) release: v6.11.0 names: allow to add the acronym release: v6.10.1 names: drop unique constraint on internal id release: v6.10.0 names: add internal id to identify the names
📁 invenio-app-rdm (13.0.0b1.dev24 -> 13.0.0b1.dev27 🌈) 📦 release: v13.0.0b1.dev27 Revert "config: add record and membership comment notifications" 📦 release: v13.0.0b1.dev26 config: add record and membership comment notifications records/macros/detail.html: Allow funding entry with award number only (inveniosoftware/invenio-app-rdm#2912) bug: remove unnecessary p tag bug: close unclosed div release: v13.0.0b1.dev25 doi: handle UI for optional DOI feature theme: put banner message below other objects pages: do not create a static page if it already exists 📁 invenio-communities (17.7.1 -> 17.8.1 🌈) 📦 release: v17.8.1 Revert "notifications: add comment notification for record and membership" 📦 release: v17.8.0 organizations: updated knownOrganizations to use id notifications: add comment notification for record and membership 📁 invenio-mail (2.1.1 -> 2.2.0 🌈) release: v2.2.0 Add exception handling and retry mechanism (inveniosoftware/invenio-mail#67) * Add exception handling and retry mechanism. * Retry with exponential backoff with random jitter to prevent "Thundering herd problem". 📁 invenio-rdm-records (16.4.2 -> 16.6.1 🌈) 📦 release: v16.6.1 Revert "bug: add custom comment notification for record/draft requests" 📦 release: v16.6.0 bug: add custom comment notification for record/draft requests affiliations: update AffiliationsField value fix: use uow not self.uow serializers: bibtex: Conference paper not falling back to proceedings serializers: bibtex: Conference proceeding to proceedings serializers: bibtex: year and month using publication date 📦 release: v16.4.2 rights: fix serialize condition for controlled license rights: fix serialize condition for controlled license release: v16.5.1 optional-doi: fix validation check when user needs a DOI pids: add manage permission to be able to skip doi transitions checks release: v16.5.0 doi: handle UI for optional DOI feature 📁 invenio-theme (3.5.1 -> 3.5.2 🐛) release: v3.5.2 form: some UI fixed for the deposit form 📁 invenio-userprofiles (3.0.1 -> 3.0.2 🐛) release: v3.0.2 fixed 404 issue when pressing cancel 📁 invenio-vocabularies (6.9.0 -> 6.11.0 🌈) release: v6.11.0 names: allow to add the acronym release: v6.10.1 names: drop unique constraint on internal id release: v6.10.0 names: add internal id to identify the names
❤️ Thank you for your contribution!
Description
In order to display funding entries with only an award number after inveniosoftware/invenio-vocabularies#429 has been merged this PR changes the display logic.
Checklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:
Reminder
By using GitHub, you have already agreed to the GitHub’s Terms of Service including that: