Bugzilla – Attachment 104603 Details for
Bug 25427
Make authority subfield management interface consistent with bibliographic subfield management view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25427: Make authority subfield management interface consistent MARC view
Bug-25427-Make-authority-subfield-management-inter.patch (text/plain), 2.89 KB, created by
Owen Leonard
on 2020-05-08 15:25:21 UTC
(
hide
)
Description:
Bug 25427: Make authority subfield management interface consistent MARC view
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-05-08 15:25:21 UTC
Size:
2.89 KB
patch
obsolete
>From 38743c5e9c27979d0e7fd53f643ed216d133e085 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 8 May 2020 15:11:19 +0000 >Subject: [PATCH] Bug 25427: Make authority subfield management interface > consistent MARC view > >This patch makes a couple of minor changes to the authority MARC >subfield structure administration interface to make it more consistent >with the corresponding MARC subfield interface. > >To test, apply the patch and go to Administration -> Authority types. > >- Pick an authority type to edit, for instance PERSO_NAME, and choose > 'MARC structure' from the Actions menu. >- Pick a tag to edit and select "Subfields" from the Actions menu. >- In the table of subfields for that tag, each subfield in the first > column should link to the edit interface for that subfield (its tab > pre-selected). >- The "Edit" button in that table should do the same. >--- > .../prog/en/modules/admin/auth_subfields_structure.tt | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt >index b5da79e661..33d767081c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt >@@ -272,7 +272,9 @@ > </tr> > [% FOREACH loo IN loop %] > <tr> >- <td>[% loo.tagsubfield | html %]</td> >+ <td> >+ <a href="/cgi-bin/koha/admin/auth_subfields_structure.pl?op=add_form&tagfield=[% tagfield | uri %]&authtypecode=[% authtypecode | uri %]#sub[% loo.tagsubfield | uri %]field">[% loo.tagsubfield | html %]</a> >+ </td> > <td> > [% IF ( loo.subfield_ignored ) %] > <i>[% loo.liblibrarian | html_entity %]</i> >@@ -301,7 +303,10 @@ > [% IF ( loo.value_builder ) %] | <strong>Plugin:</strong>[% loo.value_builder | html %],[% END %] > [% END %] > </td> >- <td><a href="?op=delete_confirm&tagfield=[% loo.tagfield | uri %]&tagsubfield=[% loo.tagsubfield | uri %]&authtypecode=[% authtypecode | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a></td> >+ <td class="actions"> >+ <a href="/cgi-bin/koha/admin/auth_subfields_structure.pl?op=add_form&tagfield=[% tagfield | uri %]&authtypecode=[% authtypecode | uri %]#sub[% loo.tagsubfield | uri %]field" class="btn btn-default btn-xs"><i class="fa fa-pencil" aria-hidden="true"></i> Edit</a> >+ <a href="/cgi-bin/koha/admin/auth_subfields_structure.pl?op=delete_confirm&tagfield=[% loo.tagfield | uri %]&tagsubfield=[% loo.tagsubfield | uri %]&authtypecode=[% authtypecode | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash" aria-hidden="true"></i> Delete</a> >+ </td> > </tr> > [% END %] > </table> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25427
:
104603
|
106263
|
106617