[koha-commits] main Koha release repository branch master updated. v16.11.00-67-ge180c56

Git repo owner gitmaster at git.koha-community.org
Fri Dec 16 12:56:50 CET 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  e180c568affed09580ecf0f40737d1ec426fe2fa (commit)
      from  97eb773c0a4054f0538c8966e207734f6f56bdd5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e180c568affed09580ecf0f40737d1ec426fe2fa
Author: Owen Leonard <oleonard at myacpl.org>
Date:   Mon Oct 10 05:52:51 2016 -0400

    Bug 17418 - Move staff client home page JavaScript to the footer
    
    This patch alters the header and footer include files so that JavaScript
    can be included in either one or the other. As a proof of concept, the
    staff client home page is updated to include JS in the footer instead
    of the header.
    
    The processing of JavaScript included on individual pages can now be
    similar to how it is done in the OPAC. A block is created with the
    page's JavaScript which is then processed in js_includes.inc in the
    correct order, after other required js assets.
    
    On pages which have been modified to allow JavaScript to be moved to the
    footer you must add a variable to the template: [% SET footerjs = 1 %].
    Eventually all staff client templates should be modified so that setting
    a flag is not required.
    
    "[% MACRO jsinclude BLOCK %]" is used instead of "[% BLOCK %]" and "[%
    PROCESS %]" because MACRO allows the template directives to be
    processed correctly when included by intranet-bottom.inc.
    
    To test, apply the patch and view the staff client home page.
    
    - Confirm that you get a confirmation when deleting a news item from the
      home page.
    - Enable the CircAutocompl system preference and test that patron
      autocomplete works from the "Check out" tab from the staff home page
      and from other pages where the "Check out" tab is present.
    - Test that JavaScript is working correctly on other pages like
      Circulation, Preferences, etc.
    
    Signed-off-by: Claire Gravely <claire_gravely at hotmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-----------------------------------------------------------------------

Summary of changes:
 .../prog/en/includes/doc-head-close.inc            |    4 +++-
 .../prog/en/includes/intranet-bottom.inc           |    4 ++++
 .../intranet-tmpl/prog/en/includes/js_includes.inc |   24 ++++++++++++++++++++
 .../prog/en/includes/patron-search-box.inc         |   23 +------------------
 .../intranet-tmpl/prog/en/modules/intranet-main.tt |   24 +++++++++++---------
 5 files changed, 45 insertions(+), 34 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list