lp1705302 Update description text user/mrisher/lp1705302-description-text-update
authorMike Risher <mrisher@catalyte.io>
Thu, 19 Dec 2019 19:12:12 +0000 (19:12 +0000)
committerMike Risher <mrisher@catalyte.io>
Thu, 19 Dec 2019 22:26:37 +0000 (22:26 +0000)
Remove reference to using HTML/Macros since these won't work with the
current system

Signed-off-by: Mike Risher <mrisher@catalyte.io>
 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

Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.lp1705302.sql [new file with mode: 0644]

index a49cf02..d6847d0 100644 (file)
@@ -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 (file)
index 0000000..3661593
--- /dev/null
@@ -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