-
Notifications
You must be signed in to change notification settings - Fork 13
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
Circulation category: update display #556
Conversation
ba95f80
to
ec8ec41
Compare
e847569
to
e1f57d6
Compare
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.
If you add functions in the ts file for the template, it would be nice to put changeDetection: ChangeDetectionStrategy.OnPush
on the @component parameter
.../admin/src/app/record/detail-view/item-type-detail-view/item-type-detail-view.component.html
Outdated
Show resolved
Hide resolved
ea74530
to
4ba0756
Compare
4ba0756
to
b78a317
Compare
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.
- Circulation information (in yellow in image above)
- If the interface is in French, but there is no circulation info defined for this language, it should display the circulation info in another language (the first defined). Currently, it displays the item type name in this case.
- If there is no circulation info defined in any languages, it should not display anything. The item type name is never displayed as it is an information for the professional.
- [not blocking] It should not be possible, in the item type, to define two different circulation info for the same language. Currently, the system blocks only if there are two for the same language with the exact same text.
- Displayed status (negative availability)
- [not blocking] I would make this field required (at least have one language). Currently, if no displayed status is defined, the item type name is displayed (not wanted).
- If the interface is in French, but there is no displayed status defined for this language, it should display the status in another language (the first defined). Currently, it displays the item type name in this case.
- [not blocking] It should not be possible, in the item type, to define two different displayed status for the same language. Currently, the system blocks only if there are two for the same language with the exact same text.
- Availability
- You implemented the availability display in the professional interface 👍 👍 👍 This is great, because it was really annoying!
- [not blocking] The document in image below has two items, both of them have a temporary item type "missing" (not available). The one of the pro view is marked as available, the other as not available.
44d0e11
to
36d995e
Compare
...ail-view/document-detail-view/holding/default-holding-item/default-holding-item.component.ts
Outdated
Show resolved
Hide resolved
...dmin/src/app/record/detail-view/circ-policy-detail-view/circ-policy-detail-view.component.ts
Show resolved
Hide resolved
...l-view/document-detail-view/holding/default-holding-item/default-holding-item.component.html
Show resolved
Hide resolved
...l-view/document-detail-view/holding/default-holding-item/default-holding-item.component.html
Outdated
Show resolved
Hide resolved
...l-view/document-detail-view/holding/default-holding-item/default-holding-item.component.html
Outdated
Show resolved
Hide resolved
...l-view/document-detail-view/holding/default-holding-item/default-holding-item.component.html
Outdated
Show resolved
Hide resolved
.../admin/src/app/record/detail-view/item-type-detail-view/item-type-detail-view.component.html
Show resolved
Hide resolved
projects/public-search/src/app/document-detail/item/item.component.html
Outdated
Show resolved
Hide resolved
* Updates display of circulation category detailed view with new fields. * Use the circulation informations labels instead of category name if the label is available in the current used UI language. * Updates the "availability" colored circle and text behavior according to new fields. * Closes rero/rero-ils#1586. Co-authored-by: Renaud Michotte <renaud.michotte@gmail.com>
36d995e
to
2b3ecfc
Compare
the label is available in the current used UI language.
to new fields.
Co-authored-by: Renaud Michotte renaud.michotte@gmail.com
Code review check list