From: Bill Erickson Date: Mon, 18 Jun 2012 21:19:18 +0000 (-0400) Subject: z3950_attr admin UI part 1 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bd7c5d3256b52bb4c081e8b8d6a2507fe9e2ea63;p=evergreen%2Fequinox.git z3950_attr admin UI part 1 Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 88b1b71310..6d0ad622ff 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -857,7 +857,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - + @@ -870,6 +870,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + + + + + + + + diff --git a/Open-ILS/src/templates/conify/global/config/z3950_source.tt2 b/Open-ILS/src/templates/conify/global/config/z3950_source.tt2 index cf32681bc7..46b9e87fe2 100644 --- a/Open-ILS/src/templates/conify/global/config/z3950_source.tt2 +++ b/Open-ILS/src/templates/conify/global/config/z3950_source.tt2 @@ -4,6 +4,43 @@
+[% source_code = ctx.page_args.0; + IF source_code %] + +
+
[% l('Z39.50 Attributes') %]
+
+ + +
+
+ + + + + + +
+ + + + + +
+ +[% ELSE %] +
Z39.50 Servers
@@ -20,9 +57,16 @@ defaultCellWidth='"auto"' fmClass='czs' editOnEnter='true'> + + + -
[% END %] +
+ + + +[% END %] diff --git a/Open-ILS/web/js/ui/default/conify/global/config/z3950_source.js b/Open-ILS/web/js/ui/default/conify/global/config/z3950_source.js index ff2de109a0..088db8427a 100644 --- a/Open-ILS/web/js/ui/default/conify/global/config/z3950_source.js +++ b/Open-ILS/web/js/ui/default/conify/global/config/z3950_source.js @@ -5,10 +5,17 @@ dojo.require('dijit.form.CheckBox'); dojo.require('fieldmapper.OrgUtils'); dojo.require('openils.widget.OrgUnitFilteringSelect'); dojo.require('openils.widget.AutoGrid'); +dojo.require('openils.widget.FlattenerGrid'); var zsList; function buildZSGrid() { - zsGrid.loadAll({order_by:{czs : 'name'}}); + if (!sourceCode) { + zsGrid.loadAll({order_by:{czs : 'name'}}); + } +} + +function formatSourceName(val) { + return '' + val + ''; } openils.Util.addOnLoad(buildZSGrid);