From 655716fb62a2845d34cba7b654b3aa59297079cf Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 29 Sep 2008 16:15:17 +0000 Subject: [PATCH] added a new pile of settings. added a flag to indicate when a value is not inherited from the parent org settings at runtime git-svn-id: svn://svn.open-ils.org/ILS/trunk@10729 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/locale/en-US/lang.dtd | 17 ++++++- .../server/admin/org_unit_settings.js | 4 ++ .../server/admin/org_unit_settings.xhtml | 49 ++++++++++++++++--- 3 files changed, 62 insertions(+), 8 deletions(-) diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd index 4483928a95..93ae5752d1 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -1464,10 +1464,25 @@ - + + + + + + + + + + + + + diff --git a/Open-ILS/xul/staff_client/server/admin/org_unit_settings.js b/Open-ILS/xul/staff_client/server/admin/org_unit_settings.js index 8f8773b285..70bb3fbc65 100644 --- a/Open-ILS/xul/staff_client/server/admin/org_unit_settings.js +++ b/Open-ILS/xul/staff_client/server/admin/org_unit_settings.js @@ -131,6 +131,10 @@ function osGetGridData(rowIdx) { switch(this.field) { case 'context': return fieldmapper.aou.findOrgUnit(value).shortname(); + case 'label': + if(setting.noInherit) + return '* ' + value; + return value; case 'value': if(setting.type == 'bool') { if(value) diff --git a/Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml b/Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml index 73435cf312..218b689481 100644 --- a/Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml +++ b/Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml @@ -26,6 +26,7 @@ @@ -70,10 +102,13 @@

Org Unit Settings


- Context Location - + Context Location + + + + * Indicates the setting is not inherited from the parent at run time