From d1929f4e0de4452f3f7b31a3794a24e688279968 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 23 Jan 2019 17:56:50 +0000 Subject: [PATCH] Bug 22196: Clean up Mana KB administration template This patch makes language changes to the Mana KB administration template, and corresponding language changes to the Web Services preference file. Some markup errors have been fixed: - Correct title and breadcrumbs, copied and pasted from another template - Add ids to form fields to match their label "for" attributes - Make s self-closing - Correct class names on alert dialogs - Wrap text in JavaScript with _() to make it translatable To test, apply the patch and go to Administration -> Share content with Mana KB. Test the process for enabling and configuring Mana KB. Check that forms work correctly and that the language of instructions and labels reads well. Go to Administration -> System preferences -> Web services, and confirm that the language changes to the Mana KB preference look good. --- .../en/modules/admin/preferences/web_services.pref | 11 +-- .../prog/en/modules/admin/share_content.tt | 81 +++++++++++----------- 2 files changed, 47 insertions(+), 45 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref index 898fafa..cb43624 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref @@ -59,20 +59,21 @@ Web services: - pref: ILS-DI:AuthorizedIPs class: Text - to use the ILS-DI services (when enabled). Separate the IP addresses with commas and without spaces. Leave the field blank to allow any IP address. - Mana: + Mana KB: - - pref: Mana choices: yes: Enable no: Disable - 2: No, let me think about it - - request to Mana Webservice. Mana centralize commun information between other Koha to facilitate the creation of new subscriptions, vendors, report queries etc... You can search, share, import and comment the content of Mana. The informations shared with Mana KB are shared under the CC-0 license. More infos about CC-0 license on https://creativecommons.org/choose/zero/ + 2: No, let me think about + - submissions to Mana KB. Mana centralizes information between other Koha installations to facilitate the creation of new subscriptions, vendors, reports, etc. You can search, share, import, and comment on the content of Mana. The information shared with Mana KB is shared under the CC-0 license - - - "Security token used to authenticate on mana:" + - "Security token used to authenticate on Mana KB:" - pref: ManaToken class: Text + - Get a security token on the Mana KB administration page. - - - 'Fields automatically shared with mana' + - 'Fields automatically shared with Mana KB' - pref: AutoShareWithMana multiple: subscription: Subscriptions diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/share_content.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/share_content.tt index f99cb2b..cb161b2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/share_content.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/share_content.tt @@ -3,59 +3,59 @@ [% SET footerjs = 1 %] [% USE Koha %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Administration › Koha usage statistics +Koha › Administration › Share content with Mana KB [% INCLUDE 'doc-head-close.inc' %] - + [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] - +
[% IF result.code != 201 && result.msg %] -