-
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 policy: improve editor #440
Conversation
55613cf
to
7e9cf2d
Compare
a04c2c6
to
9316c3b
Compare
...cord/custom-editor/circulation-settings/circulation-policy/circulation-policy.component.html
Outdated
Show resolved
Hide resolved
...cord/custom-editor/circulation-settings/circulation-policy/circulation-policy.component.html
Outdated
Show resolved
Hide resolved
...cord/custom-editor/circulation-settings/circulation-policy/circulation-policy.component.html
Outdated
Show resolved
Hide resolved
<div class="col-sm-3 p-0"> | ||
<div class="input-group"> | ||
<div class="input-group-prepend"> | ||
<span class="input-group-text">{{ currency }}</span> |
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.
translate
?
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.
No because its a symbol
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.
That's right. We shouldn't need to translate currency symbols: https://github.com/rero/rero-ils/blob/dc3caa5b3d9edd3812e90c7b6dc3838ff98d5f2c/rero_ils/modules/vendors/jsonschemas/vendors/vendor-v0.0.1.json#L245
...in/src/app/record/detail-view/circ-policy-detail-view/circ-policy-detail-view.component.html
Outdated
Show resolved
Hide resolved
...in/src/app/record/detail-view/circ-policy-detail-view/circ-policy-detail-view.component.html
Outdated
Show resolved
Hide resolved
...in/src/app/record/detail-view/circ-policy-detail-view/circ-policy-detail-view.component.html
Outdated
Show resolved
Hide resolved
...in/src/app/record/detail-view/circ-policy-detail-view/circ-policy-detail-view.component.html
Outdated
Show resolved
Hide resolved
...in/src/app/record/detail-view/circ-policy-detail-view/circ-policy-detail-view.component.html
Outdated
Show resolved
Hide resolved
...in/src/app/record/detail-view/circ-policy-detail-view/circ-policy-detail-view.component.html
Show resolved
Hide resolved
...s/admin/src/app/record/custom-editor/circulation-settings/circulation-policy-form.service.ts
Show resolved
Hide resolved
...s/admin/src/app/record/custom-editor/circulation-settings/circulation-policy-form.service.ts
Show resolved
Hide resolved
...s/admin/src/app/record/custom-editor/circulation-settings/circulation-policy-form.service.ts
Outdated
Show resolved
Hide resolved
...s/admin/src/app/record/custom-editor/circulation-settings/circulation-policy-form.service.ts
Outdated
Show resolved
Hide resolved
...s/admin/src/app/record/custom-editor/circulation-settings/circulation-policy-form.service.ts
Outdated
Show resolved
Hide resolved
...s/admin/src/app/record/custom-editor/circulation-settings/circulation-policy-form.service.ts
Outdated
Show resolved
Hide resolved
...s/admin/src/app/record/custom-editor/circulation-settings/circulation-policy-form.service.ts
Outdated
Show resolved
Hide resolved
9316c3b
to
784a1e0
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.
Commit message proposition:
circulation policy: improve editor
* Moves buttons to the top to harmonize with other editors.
* Corrects editor validation.
* Improves editor appearance.
* Closes rero/rero-ils#1365.
* Closes rero/rero-ils#1305.
* Adds id HTML attribute to circulation policy detail view for Cypress
tests and improve its appearance.
* Removes useless code.
...cord/custom-editor/circulation-settings/circulation-policy/circulation-policy.component.html
Outdated
Show resolved
Hide resolved
...cord/custom-editor/circulation-settings/circulation-policy/circulation-policy.component.html
Outdated
Show resolved
Hide resolved
...cord/custom-editor/circulation-settings/circulation-policy/circulation-policy.component.html
Outdated
Show resolved
Hide resolved
...cord/custom-editor/circulation-settings/circulation-policy/circulation-policy.component.html
Outdated
Show resolved
Hide resolved
...cord/custom-editor/circulation-settings/circulation-policy/circulation-policy.component.html
Outdated
Show resolved
Hide resolved
<div class="col-sm-3 p-0"> | ||
<div class="input-group"> | ||
<div class="input-group-prepend"> | ||
<span class="input-group-text">{{ currency }}</span> |
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.
That's right. We shouldn't need to translate currency symbols: https://github.com/rero/rero-ils/blob/dc3caa5b3d9edd3812e90c7b6dc3838ff98d5f2c/rero_ils/modules/vendors/jsonschemas/vendors/vendor-v0.0.1.json#L245
...in/src/app/record/detail-view/circ-policy-detail-view/circ-policy-detail-view.component.html
Outdated
Show resolved
Hide resolved
...in/src/app/record/detail-view/circ-policy-detail-view/circ-policy-detail-view.component.html
Show resolved
Hide resolved
...in/src/app/record/detail-view/circ-policy-detail-view/circ-policy-detail-view.component.html
Show resolved
Hide resolved
...in/src/app/record/detail-view/circ-policy-detail-view/circ-policy-detail-view.component.html
Show resolved
Hide resolved
9f83bfb
to
281aa49
Compare
281aa49
to
f06d384
Compare
c9dca75
to
1f54706
Compare
9a4cd00
to
807b905
Compare
807b905
to
0ce5603
Compare
0ce5603
to
e9997de
Compare
* Moves buttons to the top to harmonize with other editors. * Corrects editor validation. * Improves editor appearance. * Closes rero/rero-ils#1365. * Closes rero/rero-ils#1305. * Adds id HTML attribute to circulation policy detail view for Cypress tests and improve its appearance. * Removes useless code. * Closes rero/rero-ils#1363. Co-Authored-by: Alicia Zangger <alicia.zangger@rero.ch>
e9997de
to
d7b4338
Compare
tests and improve its appearance.
Co-Authored-by: Alicia Zangger alicia.zangger@rero.ch
Why are you opening this PR?
This is part of US1759
Dependencies
My PR depends on
rero-ils#<xx>
's PR(s):rero/rero-ils#1477
How to test?
Login as a librarian and check the cipo editor.
Create a cipo with checkout duration = 0 days.
Create an item linked to this cipo.
Try to check it out, and then check it in for a patron that is also linked to this cipo.
Code review check list