Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
None
-
None
-
-
EPAM-Veg Sprint 23, EPAM-Veg Sprint 24
-
5
-
Vega
Description
Mustache syntax provided below as a draft is ideal, and what my early prototypes was using as well. Loops of content will need to be addressed in the template by writing the loop as seen below (short term), and also through the UI so that it's simpler for average user that might not be familiar with writing code (long term).
DRAFT:
Template example:
Dear {{user.firstName}}, You have checked out the following item(s): {{#loans}} Title: {{item.title}}, Due date: {{loan.dueDate}}, Renewal remaining {{loan.numberOfRenewalsRemaining}}; {{/loans}} Regards, Opentown Libraries www.opentownlibraries.com
Notice example:
Dear Alex,
You have checked out the following item(s):
Title: Age of TV heroes, Due date: 07/30/2019 10:00, Renewal remaining: 3;
Title: Interesting Times, Due date: 08/30/2019 23:59, Renewal remaining: unlimited;
Title: 14 cows for America, Due date: 08/15/2019 15:00, Renewal remaining: 2;
Regards,
Opentown Libraries
www.opentownlibraries.com
There will be three types of loops containing multiples regarding content for all notices:
- Loan with item details
- Fee/fine - sometimes with item details
- Request (not as frequently, nor is it a concern if first drafts don't include this)
For UI treatment, two possible prototypes are shown below:
TestRail: Results
Attachments
Issue Links
- has to be finished together with
-
CIRC-408 Change loan time-based notices processing to support multiple-item notices
-
- Closed
-
- is required by
-
UICIRC-238 Ability to include multiple items on a single patron notice - courtesy and overdue only
-
- Closed
-