'coust', 'description'),
'integer', null)
+,( 'opac.patron.custom_css', 'opac',
+ oils_i18n_gettext('opac.patron.custom_css',
+ 'Custom CSS for the OPAC',
+ 'coust', 'label'),
+ oils_i18n_gettext('opac.patron.custom_css',
+ 'Custom CSS for the OPAC',
+ 'coust', 'description'),
+ 'string', NULL)
+
,( 'opac.payment_history_age_limit', 'opac',
oils_i18n_gettext('opac.payment_history_age_limit',
'Payment History Age Limit',
'bool', null)
;
-INSERT INTO config.org_unit_setting_type ( name, label, grp, description, datatype, update_perm )
-VALUES ('opac.update.css','Setting CSS in the OPAC','opac','Setting CSS in the OPAC','string',620);
-
UPDATE config.org_unit_setting_type
SET view_perm = (SELECT id FROM permission.perm_list
WHERE code = 'VIEW_CREDIT_CARD_PROCESSING' LIMIT 1)
WHERE code = 'ADMIN_CREDIT_CARD_PROCESSING' LIMIT 1)
WHERE name LIKE 'credit.processor%' AND update_perm IS NULL;
+UPDATE config.org_unit_setting_type
+ SET update_perm = (SELECT id FROM permission.perm_list
+ WHERE code = 'UPDATE_ORG_UNIT_SETTING.opac.patron.custom_css' LIMIT 1)
+ WHERE name = 'opac.patron.custom_css' AND update_perm IS NULL;
+
-- *** Has to go below coust definition to satisfy referential integrity ***
-- In booking, elbow room defines:
-- a) how far in the future you must make a reservation on a given item if
-Custom CSS in OPAC
+Custom CSS in OPAC
^^^^^^^^^^^^^^^^^^
-There is now a library setting called opac.patron.custom_css. This can be populated with CSS that will load in the OPAC after the stylesheets and allow for custom CSS without editing server side templates. The permission UPDATE_ORG_UNIT_SETTING.opac.patron.custom_css manages access to it.
+There is now a library setting called opac.patron.custom_css. This can be
+populated with CSS that will load in the OPAC after the stylesheets and
+allow for custom CSS without editing server side templates. The permission
+UPDATE_ORG_UNIT_SETTING.opac.patron.custom_css manages access to it.