3 SELECT evergreen.upgrade_deps_block_check('1048', :eg_version);
5 INSERT into config.org_unit_setting_type (
11 ) VALUES ( ----------------------------------------
12 'webstaff.cat.label.font.family'
15 'webstaff.cat.label.font.family'
16 ,'Item Print Label Font Family'
21 'webstaff.cat.label.font.family'
22 ,'Set the preferred font family for item print labels. You can specify a list of CSS fonts, separated by commas, in order of preference; the system will use the first font it finds with a matching name. For example, "Arial, Helvetica, serif"'
27 ), ( ----------------------------------------
28 'webstaff.cat.label.font.size'
31 'webstaff.cat.label.font.size'
32 ,'Item Print Label Font Size'
37 'webstaff.cat.label.font.size'
38 ,'Set the default font size for item print labels. Please include a unit of measurement that is valid CSS. For example, "12pt" or "16px" or "1em"'
43 ), ( ----------------------------------------
44 'webstaff.cat.label.font.weight'
47 'webstaff.cat.label.font.weight'
48 ,'Item Print Label Font Weight'
53 'webstaff.cat.label.font.weight'
54 ,'Set the default font weight for item print labels. Please use the CSS specification for values for font-weight. For example, "normal", "bold", "bolder", or "lighter"'
59 ), ( ----------------------------------------
60 'webstaff.cat.label.left_label.left_margin'
63 'webstaff.cat.label.left_label.left_margin'
64 ,'Item Print Label - Left Margin for Left Label'
69 'webstaff.cat.label.left_label.left_margin'
70 ,'Set the default left margin for the leftmost item print Label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
75 ), ( ----------------------------------------
76 'webstaff.cat.label.right_label.left_margin'
79 'webstaff.cat.label.right_label.left_margin'
80 ,'Item Print Label - Left Margin for Right Label'
85 'webstaff.cat.label.right_label.left_margin'
86 ,'Set the default left margin for the rightmost item print 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"'
91 ), ( ----------------------------------------
92 'webstaff.cat.label.left_label.height'
95 'webstaff.cat.label.left_label.height'
96 ,'Item Print Label - Height for Left Label'
101 'webstaff.cat.label.left_label.height'
102 ,'Set the default height for the leftmost item print label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
107 ), ( ----------------------------------------
108 'webstaff.cat.label.left_label.width'
111 'webstaff.cat.label.left_label.width'
112 ,'Item Print Label - Width for Left Label'
117 'webstaff.cat.label.left_label.width'
118 ,'Set the default width for the leftmost item print label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
123 ), ( ----------------------------------------
124 'webstaff.cat.label.right_label.height'
127 'webstaff.cat.label.right_label.height'
128 ,'Item Print Label - Height for Right Label'
133 'webstaff.cat.label.right_label.height'
134 ,'Set the default height for the rightmost item print label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
139 ), ( ----------------------------------------
140 'webstaff.cat.label.right_label.width'
143 'webstaff.cat.label.right_label.width'
144 ,'Item Print Label - Width for Right Label'
149 'webstaff.cat.label.right_label.width'
150 ,'Set the default width for the rightmost item print label. Please include a unit of measurement that is valid CSS. For example, "1in" or "2.5cm"'
156 'webstaff.cat.label.inline_css'
159 'webstaff.cat.label.inline_css'
160 ,'Item Print Label - Inline CSS'
165 'webstaff.cat.label.inline_css'
166 ,'This setting allows you to inject arbitrary CSS into the item print label template. For example, ".printlabel { text-transform: uppercase; }"'
172 'webstaff.cat.label.call_number_wrap_filter_height'
175 'webstaff.cat.label.call_number_wrap_filter_height'
176 ,'Item Print Label - Call Number Wrap Filter Height'
181 'webstaff.cat.label.call_number_wrap_filter_height'
182 ,'This setting is used to set the default height (in number of lines) to use for call number wrapping in the left print label.'
188 'webstaff.cat.label.call_number_wrap_filter_width'
191 'webstaff.cat.label.call_number_wrap_filter_width'
192 ,'Item Print Label - Call Number Wrap Filter Width'
197 'webstaff.cat.label.call_number_wrap_filter_width'
198 ,'This setting is used to set the default width (in number of characters) to use for call number wrapping in the left print label.'
207 -- for testing, setting removal:
208 --DELETE FROM actor.org_unit_setting WHERE name IN (
209 -- 'webstaff.cat.label.font.family'
210 -- ,'webstaff.cat.label.font.size'
211 -- ,'webstaff.cat.label.font.weight'
212 -- ,'webstaff.cat.label.left_label.height'
213 -- ,'webstaff.cat.label.left_label.width'
214 -- ,'webstaff.cat.label.left_label.left_margin'
215 -- ,'webstaff.cat.label.right_label.height'
216 -- ,'webstaff.cat.label.right_label.width'
217 -- ,'webstaff.cat.label.right_label.left_margin'
218 -- ,'webstaff.cat.label.inline_css'
219 -- ,'webstaff.cat.label.call_number_wrap_filter_height'
220 -- ,'webstaff.cat.label.call_number_wrap_filter_width'
222 --DELETE FROM config.org_unit_setting_type_log WHERE field_name IN (
223 -- 'webstaff.cat.label.font.family'
224 -- ,'webstaff.cat.label.font.size'
225 -- ,'webstaff.cat.label.font.weight'
226 -- ,'webstaff.cat.label.left_label.height'
227 -- ,'webstaff.cat.label.left_label.width'
228 -- ,'webstaff.cat.label.left_label.left_margin'
229 -- ,'webstaff.cat.label.right_label.height'
230 -- ,'webstaff.cat.label.right_label.width'
231 -- ,'webstaff.cat.label.right_label.left_margin'
232 -- ,'webstaff.cat.label.inline_css'
233 -- ,'webstaff.cat.label.call_number_wrap_filter_height'
234 -- ,'webstaff.cat.label.call_number_wrap_filter_width'
236 --DELETE FROM config.org_unit_setting_type WHERE name IN (
237 -- 'webstaff.cat.label.font.family'
238 -- ,'webstaff.cat.label.font.size'
239 -- ,'webstaff.cat.label.font.weight'
240 -- ,'webstaff.cat.label.left_label.height'
241 -- ,'webstaff.cat.label.left_label.width'
242 -- ,'webstaff.cat.label.left_label.left_margin'
243 -- ,'webstaff.cat.label.right_label.height'
244 -- ,'webstaff.cat.label.right_label.width'
245 -- ,'webstaff.cat.label.right_label.left_margin'
246 -- ,'webstaff.cat.label.inline_css'
247 -- ,'webstaff.cat.label.call_number_wrap_filter_height'
248 -- ,'webstaff.cat.label.call_number_wrap_filter_width'