From a912e61785ef029cd21c2d08efb120f83d57b4a9 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 20 Sep 2021 12:26:57 -0400 Subject: [PATCH] LP#1904593: added release notes Signed-off-by: Galen Charlton --- .../Circulation/m_account_url.adoc | 29 +++++++++++++++---- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/docs/RELEASE_NOTES_NEXT/Circulation/m_account_url.adoc b/docs/RELEASE_NOTES_NEXT/Circulation/m_account_url.adoc index ac7d82c31b..48b4b117e3 100644 --- a/docs/RELEASE_NOTES_NEXT/Circulation/m_account_url.adoc +++ b/docs/RELEASE_NOTES_NEXT/Circulation/m_account_url.adoc @@ -1,16 +1,35 @@ == Template Support for Information and My Account URLs == -A new setting has been added named lib.my_account_url to provide a path usable in templates to a patron's account login. Both this and the existing lib.info_url settings are now available in the server side processed templates, action triggers and traditional print receipts. +A new setting has been added named `lib.my_account_url` to provide a +path usable in templates to a patron's account login. Both this and +the existing `lib.info_url` settings are now available in the +server-side processed templates, action triggers and traditional print +receipts. + +Web side processed templates can be found in +Administration -> Server Administration -> Print Templates. -Web side processed templates in 3.6 can be found in Administration -> Server Administration -> Print Templates. You can add settings using the following syntax: + +[source,html] +----
[% helpers.get_org_setting(staff_org.id, 'lib.info_url'); %]
[% helpers.get_org_setting(staff_org.id, 'lib.my_account_url'); %]
+---- + +Print Receipts found in Administration -> Workstation -> Print Templates +can be added with these includes: -Print Receipts found in Administration -> Workstation -> Print Templates can be added with these includes: +[source,conf] +---- {{includes.info_url}} {{includes.my_account_url}} +---- -Action triggers can use both values with the helpers.get_org_setting include. Example: -[% helpers.get_org_setting(circ_lib.id, 'lib.my_account_url') %] +Action triggers can use both values with the `helpers.get_org_setting` +include. Example: +[source,conf] +---- +[% helpers.get_org_setting(circ_lib.id, 'lib.my_account_url') %] +---- -- 2.43.2