From dbd85697ac07f02ef7367bfdbf26cef14ec2142b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 30 Aug 2023 16:31:03 +0000 Subject: [PATCH] Bug 34661: Update UNIMARC cataloging plugins with consistent footers This patch updates UNIMARC cataloging plugin templates so that they have consistent fixed footers in the plugin popup window. Plugins for the following UNIMARC fields have been updated: 000 (Leader) 123$f 128$a 181$b 100$a 123$g 128$b 182$2 105$a 123$i 128$c 182$a 106$a 123$j 130$a 182$c 110$a 124$a 135$a 183$2 115$a 124$b 140$a 183$a 115$b 124$c 141$a 210$c 116$a 124$d 146$a 225$a 117$a 124$e 146$c 225$a 120$a 124$f 146$d 283$2 121$a 124$g 146$e 283$a 121$b 125$a 146$f 325$h 122$a 125$b 146$h 325$j 123$a 126$a 146$i 123$d 126$b 181$2 123$e 127$a 181$a Most of these will be pre-configured in a test system with default UNIMARC data. In KTD you can use the 'reset_all_unimarc' command. Go to Cataloging -> New record and test the plugin link for each of the fields listed above. - In each case, confirm that the correct popup window is shown when you click the plugin link. - Confirm that clicking the "Cancel" button closes the window without copying any data to the field in the MARC editor. * Note that if the plugin is also triggered by cursor focus in the input field, some data may be automatically filled anyway. - Confirm that filing in data and clicking "Submit" will copy the correct information into the field. Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../value_builder/unimarc_field_100.tt | 19 +++++++++++----- .../unimarc_field_100_authorities.tt | 19 +++++++++++----- .../value_builder/unimarc_field_105.tt | 19 +++++++++++----- .../value_builder/unimarc_field_106.tt | 19 +++++++++++----- .../value_builder/unimarc_field_110.tt | 18 ++++++++++----- .../value_builder/unimarc_field_115a.tt | 18 ++++++++++----- .../value_builder/unimarc_field_115b.tt | 18 ++++++++++----- .../value_builder/unimarc_field_116.tt | 18 ++++++++++----- .../value_builder/unimarc_field_117.tt | 19 +++++++++++----- .../value_builder/unimarc_field_120.tt | 19 +++++++++++----- .../value_builder/unimarc_field_121a.tt | 19 +++++++++++----- .../value_builder/unimarc_field_121b.tt | 19 +++++++++++----- .../value_builder/unimarc_field_122.tt | 19 +++++++++++----- .../value_builder/unimarc_field_123a.tt | 19 +++++++++++----- .../value_builder/unimarc_field_123defg.tt | 19 +++++++++++----- .../value_builder/unimarc_field_123i_j.tt | 19 +++++++++++----- .../value_builder/unimarc_field_124a.tt | 19 +++++++++++----- .../value_builder/unimarc_field_124b.tt | 19 +++++++++++----- .../value_builder/unimarc_field_124c.tt | 19 +++++++++++----- .../value_builder/unimarc_field_124d.tt | 19 +++++++++++----- .../value_builder/unimarc_field_124e.tt | 19 +++++++++++----- .../value_builder/unimarc_field_124f.tt | 19 +++++++++++----- .../value_builder/unimarc_field_124g.tt | 19 +++++++++++----- .../value_builder/unimarc_field_125a.tt | 19 +++++++++++----- .../value_builder/unimarc_field_125b.tt | 19 +++++++++++----- .../value_builder/unimarc_field_126a.tt | 19 +++++++++++----- .../value_builder/unimarc_field_126b.tt | 19 +++++++++++----- .../value_builder/unimarc_field_127.tt | 19 +++++++++++----- .../value_builder/unimarc_field_128a.tt | 19 +++++++++++----- .../value_builder/unimarc_field_128b.tt | 19 +++++++++++----- .../value_builder/unimarc_field_128c.tt | 19 +++++++++++----- .../value_builder/unimarc_field_130.tt | 19 +++++++++++----- .../value_builder/unimarc_field_135a.tt | 19 +++++++++++----- .../value_builder/unimarc_field_140.tt | 18 +++++++++++---- .../value_builder/unimarc_field_141.tt | 19 +++++++++++----- .../value_builder/unimarc_field_146a.tt | 21 ++++++++++-------- .../value_builder/unimarc_field_146b.tt | 22 ++++++++++--------- .../value_builder/unimarc_field_146c.tt | 22 ++++++++++--------- .../value_builder/unimarc_field_146d.tt | 22 ++++++++++--------- .../value_builder/unimarc_field_146e.tt | 21 ++++++++++-------- .../value_builder/unimarc_field_146f.tt | 21 ++++++++++-------- .../value_builder/unimarc_field_146h.tt | 21 ++++++++++-------- .../value_builder/unimarc_field_146i.tt | 21 ++++++++++-------- .../value_builder/unimarc_field_181-2.tt | 19 +++++++++++----- .../value_builder/unimarc_field_181a.tt | 19 +++++++++++----- .../value_builder/unimarc_field_181b.tt | 19 +++++++++++----- .../value_builder/unimarc_field_181c.tt | 19 +++++++++++----- .../value_builder/unimarc_field_182-2.tt | 19 +++++++++++----- .../value_builder/unimarc_field_182a.tt | 19 +++++++++++----- .../value_builder/unimarc_field_182c.tt | 19 +++++++++++----- .../value_builder/unimarc_field_183-2.tt | 19 +++++++++++----- .../value_builder/unimarc_field_183a.tt | 19 +++++++++++----- .../value_builder/unimarc_field_210c_bis.tt | 18 +++++++++------ .../value_builder/unimarc_field_225a.tt | 19 +++++++++++----- .../value_builder/unimarc_field_225a_bis.tt | 13 ++++++++--- .../value_builder/unimarc_field_283-2.tt | 19 +++++++++++----- .../value_builder/unimarc_field_283a.tt | 11 +++++++++- .../value_builder/unimarc_field_325h.tt | 11 +++++++++- .../value_builder/unimarc_field_325j.tt | 11 +++++++++- .../value_builder/unimarc_field_700-4.tt | 11 +++++++++- .../value_builder/unimarc_leader.tt | 19 +++++++++++----- .../unimarc_leader_authorities.tt | 19 +++++++++++----- 62 files changed, 824 insertions(+), 329 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_100.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_100.tt index 685e6500b9..41101a7eb3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_100.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_100.tt @@ -10,8 +10,8 @@

UNIMARC field 100 builder

-
-
+ +
@@ -823,9 +823,17 @@
-

Cancel

- -
+
+ + + [% MACRO jsinclude BLOCK %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_100_authorities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_100_authorities.tt index 02d2342059..98257fce21 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_100_authorities.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_100_authorities.tt @@ -10,8 +10,8 @@

UNIMARC field 100 builder

-
-
+ +
@@ -353,9 +353,18 @@
-

Cancel

- -
+
+ + + + [% MACRO jsinclude BLOCK %]