[open-ils-commits] [GIT] Evergreen ILS branch master updated. 985313e6cfe305ec7874535665016a48dcf06bdd

Evergreen Git git at git.evergreen-ils.org
Wed Feb 18 16:19:45 EST 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  985313e6cfe305ec7874535665016a48dcf06bdd (commit)
      from  12ee39da89f5480385258ced8d1a72bcbfe6026c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 985313e6cfe305ec7874535665016a48dcf06bdd
Author: Yamil Suarez <yamil at yamil.com>
Date:   Tue Feb 17 14:29:46 2015 -0500

    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 <yamil at yamil.com>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/templates/cat/authority/list.tt2 b/Open-ILS/src/templates/cat/authority/list.tt2
index 9b8aa96..3975fc7 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;}
 </style>
 <div dojoType="dijit.form.Form" id="myForm" jsId="myForm" encType="multipart/form-data" action="" method="">
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 4c42b90..ba62550 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) {
             '<div class="authEntry" id="auth' + auth.id + '">' +
             '<div class="text" id="authLabel' + auth.id + '">' +
             '<span class="text">' + auth.text + '</span></div>' +
-            '<div class="authority-control-set">Control Set: <span class="acs-name">' +
+            '<div class="authority-control-set-thesaurus"><span class="authority-control-set">Control Set: <span class="acs-name">' +
             fetch_control_set(auth.thesaurus).name() +
             '</span> <span class="acs-id">(#' +
-            fetch_control_set(auth.thesaurus).id() + ')</span></div></div>',
+            fetch_control_set(auth.thesaurus).id() + ')</span>' +
+            '</span> <span class="authority-thesaurus">Thes: ' + auth.thesaurus + '</span></div></div>',
             "authlist-div", "last"
         );
 

-----------------------------------------------------------------------

Summary of changes:
 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(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list