yaous for my account url
Bug #1904593 reported by
Rogan Hamby
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
There should be an org unit setting for defining a URL for My Account, presumably Evergreen's though not necessarily. It should be usable in print receipts and A/Ts.
Patch forthcoming.
Changed in evergreen: | |
assignee: | nobody → Rogan Hamby (rogan-hamby) |
Changed in evergreen: | |
status: | New → Confirmed |
tags: | added: pullrequest |
tags: | added: signedoff |
Changed in evergreen: | |
milestone: | none → 3.next |
Changed in evergreen: | |
milestone: | 3.next → 3.8-beta |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The patch here provides for the following:
* a new org unit setting called lib.my_account_url similar to lib.info_url
* support for both settings in the workstation receipt templates
* adds the get org unit setting helper to the WWW Print Templates
* release notes
simple testing plan:
B = branch to test at
S = system level that branch is child of
C = consortium
register account to B and workstation to B
add settings for both org unit settings at C, S & B
under Administration -> Server Administration -> Print Templates add the following lines to a receipt :
<div>[% helpers. get_org_ setting( staff_org. id, 'lib.info_url'); %]</div> get_org_ setting( staff_org. id, 'lib.my_ account_ url'); %]</div>
<div>[% helpers.
under Administration -> Workstation -> Print Templates add the following lines to a receipt:
{{includes. info_url} } my_account_ url}}
{{includes.
Testing the action triggers aren't necessary since no changes were made to action triggers themselves but both org unit settings can be fetched there as well.
Test first by logging out after you add the settings and then in the two interfaces generate previews for both receipts. Now, delete branch level settings, log out, back in and check again. Now system level settings should show.
Branch: https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=commit; h=08bd9e03415fb da1e63f37de09d3 99b933aa0439