Koha-clms/cataloguing/value_builder
Owen Leonard bdb64657f9 Bug 16314: Show upload link for upload plugin in basic MARC editor
This patch updates the basic MARC editor to provide a plugin name
variable to the template, allowing us to make a check on the name and
conditionally show an upload link if the "upload.pl" cataloging plugin
is selected.

To test, apply the patch and rebuild the staff client CSS
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client).

 - Go do Administration -> MARC bibliographic framework -> MARC
   structure -> 856 -> Edit subfields.
 - Edit the "u" subfield and select "upload.pl" as the plugin under
   "Other options."
 - Go to Cataloging and create or edit a MARC record.
 - Under tab 8 look for the 856 tag, subfield u. There should be an
   "Upload" link corresponding to the form field.
 - Click the upload link to confirm that it triggers a popup window with
   the upload form.
 - Confirm that other similar plugin links (for instance 100$a, 600$a)
   display the old "tag editor" icon.

Signed-off-by: Lisette Scheer <lisetteslatah@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-09-09 15:39:51 +02:00
..
EXAMPLE.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
barcode.pl Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls 2019-07-15 11:28:08 +01:00
barcode_manual.pl Bug 24503: fix missing use in value builder barcode_manual.pl 2020-01-24 15:18:41 +00:00
callnumber-KU.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
callnumber.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
cn_browser.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
dateaccessioned.pl Bug 11500: Use dateformat syspref and datepicker on additems.pl (and other item cataloguing pages) 2019-12-23 12:01:45 +00:00
macles.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
marc21_field_005.pl Bug 13437: Replace javascript function parameter in builder 2015-06-10 12:51:28 -03:00
marc21_field_006.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
marc21_field_007.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
marc21_field_008.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
marc21_field_008_authorities.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
marc21_field_008_classifications.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
marc21_field_245h.pl Bug 13437: Replace javascript function parameter in builder 2015-06-10 12:51:28 -03:00
marc21_leader.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
marc21_leader_authorities.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
marc21_linking_section.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
marc21_orgcode.pl Bug 10132: Add ability to set MARC Organization Code at library level 2017-09-19 09:47:27 -03:00
normarc_field_007.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
normarc_field_008.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
normarc_leader.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
stocknumber.pl Bug 16203: Convert item plugins to new style (see bug 10480) 2016-12-16 11:55:27 +00:00
stocknumberAV.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
stocknumberam123.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_4XX.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_010.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_100.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_100_authorities.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_105.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_106.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_110.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_115a.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_115b.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_116.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_117.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_120.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_121a.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_121b.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_122.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_123a.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_123d.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_123e.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_123f.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_123g.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_123i.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_123j.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_124.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_124a.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_124b.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_124c.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_124d.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_124e.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_124f.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_124g.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_125.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_125a.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_125b.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_126.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_126a.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_126b.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_127.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_128a.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_128b.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_128c.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_130.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_135a.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_140.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_141.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_210c.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_210c_bis.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_225a.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_225a_bis.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_686a.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_field_700-4.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
unimarc_leader.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
upload.pl Bug 16314: Show upload link for upload plugin in basic MARC editor 2020-09-09 15:39:51 +02:00