From: Mike Risher Date: Thu, 19 Dec 2019 19:12:12 +0000 (+0000) Subject: lp1705302 Update description text X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=19a65da4bd47b6748b2435a88658aee786eeeaf9;p=working%2FEvergreen.git lp1705302 Update description text Remove reference to using HTML/Macros since these won't work with the current system Signed-off-by: Mike Risher Changes to be committed: modified: Open-ILS/src/sql/Pg/950.data.seed-values.sql new file: Open-ILS/src/sql/Pg/upgrade/XXXX.data.lp1705302.sql --- diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql index a49cf02de8..d6847d0785 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -3950,7 +3950,7 @@ INSERT into config.org_unit_setting_type 'Content of alert_text include', 'coust', 'label'), oils_i18n_gettext('circ.staff_client.receipt.alert_text', - 'Text/HTML/Macros to be inserted into receipt templates in place of %INCLUDE(alert_text)%', + 'Text to be inserted into receipt templates in place of %INCLUDE(alert_text)%', 'coust', 'description'), 'string', null) @@ -3959,7 +3959,7 @@ INSERT into config.org_unit_setting_type 'Content of event_text include', 'coust', 'label'), oils_i18n_gettext('circ.staff_client.receipt.event_text', - 'Text/HTML/Macros to be inserted into receipt templates in place of %INCLUDE(event_text)%', + 'Text to be inserted into receipt templates in place of %INCLUDE(event_text)%', 'coust', 'description'), 'string', null) @@ -3968,7 +3968,7 @@ INSERT into config.org_unit_setting_type 'Content of footer_text include', 'coust', 'label'), oils_i18n_gettext('circ.staff_client.receipt.footer_text', - 'Text/HTML/Macros to be inserted into receipt templates in place of %INCLUDE(footer_text)%', + 'Text to be inserted into receipt templates in place of %INCLUDE(footer_text)%', 'coust', 'description'), 'string', null) @@ -3977,7 +3977,7 @@ INSERT into config.org_unit_setting_type 'Content of header_text include', 'coust', 'label'), oils_i18n_gettext('circ.staff_client.receipt.header_text', - 'Text/HTML/Macros to be inserted into receipt templates in place of %INCLUDE(header_text)%', + 'Text to be inserted into receipt templates in place of %INCLUDE(header_text)%', 'coust', 'description'), 'string', null) @@ -3986,7 +3986,7 @@ INSERT into config.org_unit_setting_type 'Content of notice_text include', 'coust', 'label'), oils_i18n_gettext('circ.staff_client.receipt.notice_text', - 'Text/HTML/Macros to be inserted into receipt templates in place of %INCLUDE(notice_text)%', + 'Text to be inserted into receipt templates in place of %INCLUDE(notice_text)%', 'coust', 'description'), 'string', null) diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.lp1705302.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.lp1705302.sql new file mode 100644 index 0000000000..3661593e82 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.lp1705302.sql @@ -0,0 +1,24 @@ +BEGIN +SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); + +UPDATE config.org_unit_setting_type +SET description = 'Text to be inserted into receipt templates in place of %INCLUDE(alert_text)%' +WHERE name = 'circ.staff_client.receipt.alert_text'; + +UPDATE config.org_unit_setting_type +SET description = 'Text to be inserted into receipt templates in place of %INCLUDE(alert_text)%' +WHERE name = 'circ.staff_client.receipt.event_text'; + +UPDATE config.org_unit_setting_type +SET description = 'Text to be inserted into receipt templates in place of %INCLUDE(alert_text)%' +WHERE name = 'circ.staff_client.receipt.footer_text'; + +UPDATE config.org_unit_setting_type +SET description = 'Text to be inserted into receipt templates in place of %INCLUDE(alert_text)%' +WHERE name = 'circ.staff_client.receipt.header_text'; + +UPDATE config.org_unit_setting_type +SET description = 'Text to be inserted into receipt templates in place of %INCLUDE(alert_text)%' +WHERE name = 'circ.staff_client.receipt.notice_text'; + +COMMIT \ No newline at end of file