From 143d738dab298dece26e03599c1ec2b129476f98 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 24 Oct 2018 15:39:13 +0000 Subject: [PATCH] Bug 21647: Clean up SRU fields mapping templates This patch makes corrections to the SRU field mapping templates (bibliographic and authority): - Bootstrap grid - JavaScript to the footer - Other markup corrections To test, apply the patch and go to Administration -> Z39.50/SRU servers - Add or edit an SRU server - Click "Modify" next to the SRU search fields mapping field. - Confirm that the popup window layout is correct. - Confirm that adding information to the form is correctly saved to the SRU server form. - Test this process with SRU server record type set to both "Authority" and "Bibliographic." Signed-off-by: Charles Farmer Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens --- .../prog/en/modules/admin/sru_modmapping.tt | 6 +- .../en/modules/admin/sru_modmapping_auth.tt | 86 ++++++++++--------- 2 files changed, 47 insertions(+), 45 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sru_modmapping.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sru_modmapping.tt index bdbf4ef918..8528933768 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sru_modmapping.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sru_modmapping.tt @@ -15,8 +15,8 @@
-
-
+
+
  1. @@ -40,7 +40,7 @@
-
+
  1. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sru_modmapping_auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sru_modmapping_auth.tt index b1999feaa8..75b3205512 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sru_modmapping_auth.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sru_modmapping_auth.tt @@ -1,88 +1,63 @@ +[% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › SRU search fields mapping for authorities [% INCLUDE 'doc-head-close.inc' %] - - -
    +
    -
    +

    Modify SRU search fields mapping for authorities

    -
    -
    +
    +
    1. - +
    2. - +
    3. - +
    4. - +
    5. - +
    6. - +
    -
    +
    1. - +
    2. - +
    3. - +
    4. - +
    @@ -93,6 +68,33 @@ Cancel
    -
    + + + +[% MACRO jsinclude BLOCK %] + +[% END %] [% INCLUDE 'intranet-bottom.inc' popup_window=1 %] -- 2.39.5