Koha/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/auth_finder.tt
Owen Leonard 3d41b8cce8 Bug 19786: Move template JavaScript to the footer: Authorities, part 2
This patch modifies the staff client patron lists templates so that
JavaScript is included in the footer instead of the header.

To test, apply the patch and test the JavaScript-driven features of
each modified template.

I've made one change to the JavaScript in addition to moving it: I've
made it so that the blank window which pops up briefly in this process
is 100px x 100px instead of full screen.

- Cataloging -> Add or edit bibliographic record in a framework which
  has authorities linked to a tag
  -> Click authorities plugin link
     -> Create new authority button
     -> Autocomplete on text inputs (except "Search all headings")
     -> Search
        -> Select authority record ("choose")
           -> Click authorities plugin link again
              -> Clear field

Signed-off-by: Claire Gravely <claire_gravely@hotmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-03-26 17:31:20 -03:00

34 lines
883 B
Text

[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; 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">
<h1>Authority search</h1>
[% INCLUDE 'auth-finder-search.inc' %]
</div>
</div>
</div>
</div>
</div>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
var index = "[% index %]";
var authtypecode = "[% authtypecode %]";
</script>
<script type="text/javascript" src="[% interface %]/[% theme %]/js/auth-finder-search.js"></script>
[% END %]
[% INCLUDE 'intranet-bottom.inc' popup_window = 1 %]