]> git.koha-community.org Git - koha.git/commit
Bug 20658: Move template JavaScript to the footer: Installer and onboarding
authorOwen Leonard <oleonard@myacpl.org>
Wed, 25 Apr 2018 16:28:18 +0000 (16:28 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 19 Mar 2019 10:59:00 +0000 (10:59 +0000)
commitd7df216edb96ed733cb927c6c37204e08f42926f
tree655f14d9f98374f0d17a8e9fc1e94d7158c853ca
parent1e1fad3ea6459e94e3966bd6a0d50cea104a4d71
Bug 20658: Move template JavaScript to the footer: Installer and onboarding

This patch updates the installer and onboarding templates so that
JavaScript is included in the footer instead of the header. A new
include file is added, installer-intranet-bottom.inc, so that only
required JS is being loaded.

Some markup changes are included to improve validity.

To test, apply the patch and start with a blank Koha database. Run
through the installer and onboarding processes and confirm that there
are no problems. Check especially JS-related interactions like
datepickers and fields which are validated via JS, like the password
inputs.

NOTE: The qa tool will flag this patch for not using the Asset plugin,
but it doesn't work correctly for installer files.

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 9ceb745fb2f9c226ffab40a32137c8d43d10ad74)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/installer-doc-head-close.inc
koha-tmpl/intranet-tmpl/prog/en/includes/installer-intranet-bottom.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/installer/auth.tt
koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt
koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt
koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt
koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep1.tt
koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt
koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt
koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep4.tt
koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt