[open-ils-commits] r11480 - in trunk/Open-ILS: web/opac/locale/en-US xul/staff_client/server/admin

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Dec 9 15:33:50 EST 2008


Author: erickson
Date: 2008-12-09 15:33:46 -0500 (Tue, 09 Dec 2008)
New Revision: 11480

Modified:
   trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
   trunk/Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml
Log:
added org settings for controlling recs are auto-deleted or staff is alerted when last item from a bib is deleted

Modified: trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
===================================================================
--- trunk/Open-ILS/web/opac/locale/en-US/lang.dtd	2008-12-09 19:48:48 UTC (rev 11479)
+++ trunk/Open-ILS/web/opac/locale/en-US/lang.dtd	2008-12-09 20:33:46 UTC (rev 11480)
@@ -1518,6 +1518,10 @@
 <!ENTITY staff.server.admin.org_settings.circ.selfcheck.require_patron_password.desc "If true, patrons will be required to enter their password in addition to their username/barcode to log into the selfcheck interface">
 <!ENTITY staff.server.admin.org_settings.global.juvenile_age_threshold "Juvenile Age Threshold">
 <!ENTITY staff.server.admin.org_settings.global.juvenile_age_threshold.desc 'The age at which a user is no long considered a juvenile.  For example, "18 years".'>
+<!ENTITY staff.server.admin.org_settings.cat.bib.keep_on_empty "Do not automatically delete empty bib records">
+<!ENTITY staff.server.admin.org_settings.cat.bib.keep_on_empty.desc 'Do not automatically delete a bib record when all attached copies are deleted'>
+<!ENTITY staff.server.admin.org_settings.cat.bib.alert_on_empty 'Alert on empty bib records'>
+<!ENTITY staff.server.admin.org_settings.cat.bib.alert_on_empty.desc "Alert staff when the last copy for a record is being deleted">
 
 <!ENTITY staff.server.admin.stat_cat.title "Evergreen: Statistical Category Editor">
 <!ENTITY staff.server.admin.stat_cat.greeting "Welcome ">

Modified: trunk/Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml	2008-12-09 19:48:48 UTC (rev 11479)
+++ trunk/Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml	2008-12-09 20:33:46 UTC (rev 11480)
@@ -120,6 +120,16 @@
                 'global.juvenile_age_threshold' : {
                     label : '&staff.server.admin.org_settings.global.juvenile_age_threshold;',
                     desc : '&staff.server.admin.org_settings.global.juvenile_age_threshold.desc;',
+                },
+                'cat.bib.keep_on_empty' : {
+                    label : '&staff.server.admin.org_settings.cat.bib.keep_on_empty;',
+                    desc : '&staff.server.admin.org_settings.cat.bib.keep_on_empty.desc;',
+                    type : 'bool'
+                },
+                'cat.bib.alert_on_empty' : {
+                    label : '&staff.server.admin.org_settings.cat.bib.alert_on_empty;',
+                    desc : '&staff.server.admin.org_settings.cat.bib.alert_on_empty.desc;',
+                    type : 'bool'
                 }
             };
         </script>
@@ -144,7 +154,7 @@
                             {name: 'Edit', get: osGetEditLink, 
                                 value: '&lt;a href=&quot;javascript:void(0);&quot; onclick=&quot;osLaunchEditor(\'SETTING\');&quot;>Edit&lt;/a>'},
                             {name: 'Setting', get: osGetGridData, field:'label', width:'auto', styles:'text-align:left;'},
-                            {name: 'Context', get: osGetGridData, field:'context', width:'auto'},
+                            {name: 'Context', get: osGetGridData, field:'context'},
                             {name: 'Value', get: osGetGridData, field:'value', width:'auto'},
                         ]]
                     }];



More information about the open-ils-commits mailing list