]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/1153.data.update_item_label_org_unit_labels.sql
LP1615805 No inputs after submit in patron search (AngularJS)
[working/Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 1153.data.update_item_label_org_unit_labels.sql
1 BEGIN;
2
3 SELECT evergreen.upgrade_deps_block_check('1153', :eg_version);
4
5 UPDATE config.org_unit_setting_type
6 SET label = oils_i18n_gettext(
7          'webstaff.cat.label.left_label.left_margin'
8         ,'Item Print Label - Left Margin for Spine Label'
9         ,'coust'
10         ,'label'
11     ),
12      description = oils_i18n_gettext(
13          'webstaff.cat.label.left_label.left_margin'
14         ,'Set the default left margin for the item print Spine Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
15         ,'coust'
16         ,'description'
17     )
18 WHERE NAME = 'webstaff.cat.label.left_label.left_margin';
19
20 UPDATE config.org_unit_setting_type
21 SET label = oils_i18n_gettext(
22          'webstaff.cat.label.right_label.left_margin'
23         ,'Item Print Label - Left Margin for Pocket Label'
24         ,'coust'
25         ,'label'
26     ),
27      description = oils_i18n_gettext(
28          'webstaff.cat.label.right_label.left_margin'
29         ,'Set the default left margin for the item print Pocket Label (or in other words, the desired space between the two labels). Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
30         ,'coust'
31         ,'description'
32     )
33 WHERE NAME = 'webstaff.cat.label.right_label.left_margin';
34
35
36 UPDATE config.org_unit_setting_type
37 SET label = oils_i18n_gettext(
38          'webstaff.cat.label.left_label.height'
39         ,'Item Print Label - Height for Spine Label'
40         ,'coust'
41         ,'label'
42     ),
43      description = oils_i18n_gettext(
44          'webstaff.cat.label.left_label.height'
45         ,'Set the default height for the item print Spine Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
46         ,'coust'
47         ,'description'
48     )
49 WHERE NAME = 'webstaff.cat.label.left_label.height';
50
51 UPDATE config.org_unit_setting_type
52 SET label = oils_i18n_gettext(
53          'webstaff.cat.label.left_label.width'
54         ,'Item Print Label - Width for Spine Label'
55         ,'coust'
56         ,'label'
57     ),
58      description = oils_i18n_gettext(
59          'webstaff.cat.label.left_label.width'
60         ,'Set the default width for the item print Spine Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
61         ,'coust'
62         ,'description'
63     )
64 WHERE NAME = 'webstaff.cat.label.left_label.width';
65
66 UPDATE config.org_unit_setting_type
67 SET label = oils_i18n_gettext(
68          'webstaff.cat.label.right_label.height'
69         ,'Item Print Label - Height for Pocket Label'
70         ,'coust'
71         ,'label'
72     ),
73      description = oils_i18n_gettext(
74          'webstaff.cat.label.right_label.height'
75         ,'Set the default height for the item print Pocket Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
76         ,'coust'
77         ,'description'
78     )
79 WHERE NAME = 'webstaff.cat.label.right_label.height';
80
81 UPDATE config.org_unit_setting_type
82 SET label = oils_i18n_gettext(
83          'webstaff.cat.label.right_label.width'
84         ,'Item Print Label - Width for Pocket Label'
85         ,'coust'
86         ,'label'
87     ),
88      description = oils_i18n_gettext(
89          'webstaff.cat.label.right_label.width'
90         ,'Set the default width for the item print Pocket Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
91         ,'coust'
92         ,'description'
93     )
94 WHERE NAME = 'webstaff.cat.label.right_label.width';
95
96 COMMIT;