From 985313e6cfe305ec7874535665016a48dcf06bdd Mon Sep 17 00:00:00 2001 From: Yamil Suarez Date: Tue, 17 Feb 2015 14:29:46 -0500 Subject: [PATCH] LP#1403967: show 'subject heading thesaurus' value in Manage Authorities results The 'subject heading thesaurus' basically defines the issuing authority that created the authority record. For example, a value of "a" means that it came from LoC. A value of "n" means that it is a locally created authority. Note that within the authority MARC editor the 'Subject Heading Thesaurus' is stored/displayed in the 'Subj' fixed field. Signed-off-by: Yamil Suarez Signed-off-by: Mike Rylander --- Open-ILS/src/templates/cat/authority/list.tt2 | 4 +++- Open-ILS/web/js/ui/default/cat/authority/list.js | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/templates/cat/authority/list.tt2 b/Open-ILS/src/templates/cat/authority/list.tt2 index 9b8aa96fd2..3975fc77ec 100644 --- a/Open-ILS/src/templates/cat/authority/list.tt2 +++ b/Open-ILS/src/templates/cat/authority/list.tt2 @@ -6,9 +6,11 @@ .authEntry { clear: both; height: 1.5em; } .authEntry > *:first-child { float: left; width: 20%; } .authEntry > .text { float: left; width: 46%; } - .authEntry > .authority-control-set { float: right; width: 33%; ; font-style: italic; } + .authEntry > .authority-control-set-thesaurus { float: right; width: 33%; } + .authority-control-set { font-style: italic; } .authority-control-set .acs-name { font-weight: bold; } .authority-control-set .acs-id { } + .authority-control-set-thesaurus .authority-thesaurus { margin-left: 15px; } .authEntry:nth-child(even) { background-color:#D3D3D3;}
diff --git a/Open-ILS/web/js/ui/default/cat/authority/list.js b/Open-ILS/web/js/ui/default/cat/authority/list.js index 4c42b90b4d..ba625509bd 100644 --- a/Open-ILS/web/js/ui/default/cat/authority/list.js +++ b/Open-ILS/web/js/ui/default/cat/authority/list.js @@ -100,10 +100,11 @@ function displayAuthorities(data) { '
' + '
' + '' + auth.text + '
' + - '
Control Set: ' + + '
Control Set: ' + fetch_control_set(auth.thesaurus).name() + ' (#' + - fetch_control_set(auth.thesaurus).id() + ')
', + fetch_control_set(auth.thesaurus).id() + ')' + + ' Thes: ' + auth.thesaurus + '
', "authlist-div", "last" ); -- 2.43.2