Bugzilla – Attachment 73247 Details for
Bug 19949
Update popup window templates to use Bootstrap grid: Cataloging authority search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19949: Update popup window templates to use Bootstrap grid: Cataloging authority search
Bug-19949-Update-popup-window-templates-to-use-Boo.patch (text/plain), 4.14 KB, created by
Katrin Fischer
on 2018-03-25 17:17:29 UTC
(
hide
)
Description:
Bug 19949: Update popup window templates to use Bootstrap grid: Cataloging authority search
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-03-25 17:17:29 UTC
Size:
4.14 KB
patch
obsolete
>From a4532cb3c5b4315558fae247a502454da09136bd Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 10 Jan 2018 17:42:59 +0000 >Subject: [PATCH] Bug 19949: Update popup window templates to use Bootstrap > grid: Cataloging authority search > >This patch updates the cataloging authority search templates to use the >Bootstrap grid instead of the YUI grid. > >To test you must have a MARC subfield configured with "Thesaurus" >linked to an authority type. > >Apply the patch and go to Cataloging -> New record. Click the plugin >link for the field which is linked to authorities. In the popup window, >the search form and search results should look correct. > >Signed-off-by: Zoe Bennett <zoebennett1308@gmail.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../prog/en/modules/authorities/auth_finder.tt | 17 ++--------------- > .../en/modules/authorities/searchresultlist-auth.tt | 19 ++++--------------- > 2 files changed, 6 insertions(+), 30 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/auth_finder.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/auth_finder.tt >index 8a7459c..a7e1aaa 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/auth_finder.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/auth_finder.tt >@@ -2,27 +2,14 @@ > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Cataloging authority plugin</title> > [% INCLUDE 'doc-head-close.inc' %] >-<style type="text/css"> >-#custom-doc { width:51.46em;*width:50.17em;min-width:675px; margin:auto; text-align:left; } >-</style> >- > </head> >+ > <body id="auth_auth_finder" class="auth"> >-<div id="custom-doc" class="yui-t7"> >- >- <div id="bd"> >- <div id="yui-main"> >- <div class="yui-b"><div class="yui-g"> >+ <div class="container-fluid"> > > <h1>Authority search</h1> > [% INCLUDE 'auth-finder-search.inc' %] > >- </div> >- </div> >- </div> >-</div> >-</div> >- > [% MACRO jsinclude BLOCK %] > <script type="text/javascript"> > var index = "[% index %]"; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt >index 3b99d6e..f8c86cf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt >@@ -3,21 +3,14 @@ > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Cataloging authority plugin</title> > [% INCLUDE 'doc-head-close.inc' %] >-<style type="text/css"> >-#custom-doc { width:51.46em;*width:50.17em;min-width:675px; margin:auto; text-align:left; } >-</style> > </head> > > <body id="auth_searchresultlist_auth" class="auth"> >-<div id="custom-doc" class="yui-t7"> >- >- <div id="bd"> >- <div id="yui-main"> >- <div class="yui-b"><div class="yui-g"> >+ <div class="container-fluid"> > > <h1>Authority search results</h1> > [% INCLUDE 'auth-finder-search.inc' %] >- [% IF ( total ) %]<div id="resultnumber"> >+ [% IF ( total ) %]<div class="resultnumber"> > [% IF ( displayprev ) %] > <a href="auth_finder.pl?startfrom=[% startfromprev %]&authtypecode=[% authtypecode %][% FOREACH searchdat IN searchdata %]&[% searchdat.term %]=[% searchdat.val %][% END %]&op=do_search&type=intranet&index=[% index %]&tagid=[% tagid %]&orderby=[% orderby %]"> > << >@@ -70,7 +63,7 @@ > </table> > > </div> >- <div id="resultnumber"> >+ <div class="resultnumber"> > [% IF ( displayprev ) %] > <a href="auth_finder.pl?startfrom=[% startfromprev %]&authtypecode=[% authtypecode %][% FOREACH searchdat IN searchdata %]&[% searchdat.term %]=[% searchdat.val %][% END %]&op=do_search&type=intranetamp;&index=[% index %]&tagid=[% tagid %]&orderby=[% orderby %]"> > << >@@ -89,11 +82,7 @@ > >></a> > [% END %] > </div>[% END %] >-</div> >-</div> >-</div> >-</div> >-</div> >+ </div> > > [% MACRO jsinclude BLOCK %] > <script type="text/javascript"> >-- >2.1.4
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 19949
:
70417
|
70715
| 73247