From e3fa59368c8e8a3b1d26c442e58b1fe57526611c Mon Sep 17 00:00:00 2001 From: Lebbeous Fogle-Weekley Date: Tue, 21 Jun 2011 14:08:55 -0400 Subject: [PATCH] Thesauri editor --- .../web/js/dojo/openils/authority/nls/authority.js | 3 +- .../default/cat/authority/control_set.tt2 | 4 +- .../templates/default/cat/authority/thesaurus.tt2 | 72 ++++++++++++++++++++++ 3 files changed, 76 insertions(+), 3 deletions(-) create mode 100644 Open-ILS/web/templates/default/cat/authority/thesaurus.tt2 diff --git a/Open-ILS/web/js/dojo/openils/authority/nls/authority.js b/Open-ILS/web/js/dojo/openils/authority/nls/authority.js index f7ea8a0b67..9fef6025d6 100644 --- a/Open-ILS/web/js/dojo/openils/authority/nls/authority.js +++ b/Open-ILS/web/js/dojo/openils/authority/nls/authority.js @@ -17,5 +17,6 @@ "SAVE_RESULT_SUCCESS": "Record was saved.", "MERGE_RESULT_SUCCESS": "Record merge is complete.", "THESAURI": "Thesauri (${0})", - "AUTHORITY_FIELDS": "Authority Fields (${0})" + "AUTHORITY_FIELDS": "Authority Fields (${0})", + "CONTROL_SET_METADATA": "(${0}) ${1} / ${2}" } diff --git a/Open-ILS/web/templates/default/cat/authority/control_set.tt2 b/Open-ILS/web/templates/default/cat/authority/control_set.tt2 index 095578d69b..d763b61641 100644 --- a/Open-ILS/web/templates/default/cat/authority/control_set.tt2 +++ b/Open-ILS/web/templates/default/cat/authority/control_set.tt2 @@ -42,10 +42,10 @@ acs_cache[id].authority_fields().length : 0; return "" + + "/cat/authority/thesaurus?acs=" + id + "'>" + dojo.string.substitute(localeStrings.THESAURI, [tlen]) + "  " + " " + dojo.string.substitute(localeStrings.AUTHORITY_FIELDS, [alen]) + ""; diff --git a/Open-ILS/web/templates/default/cat/authority/thesaurus.tt2 b/Open-ILS/web/templates/default/cat/authority/thesaurus.tt2 new file mode 100644 index 0000000000..0c62daba11 --- /dev/null +++ b/Open-ILS/web/templates/default/cat/authority/thesaurus.tt2 @@ -0,0 +1,72 @@ +[% WRAPPER default/base.tt2 %] + +[% ctx.page_title = "Configure Authority Thesauri" %] +
+
+
Thesauri
+
+ + +
+
+ +
+ +
+
+
+ + +[% END %] -- 2.11.0