Bug 13496: make auth.tt use a template plugin to get the Koha version
authorTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 29 Dec 2014 00:20:55 +0000 (21:20 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Sun, 4 Jan 2015 14:24:22 +0000 (11:24 -0300)
commit058470acee72d6c77389f59c80d3488194843cee
tree2e342071a05ba383d5e93711a221f2ae76f7e371
parentd8eff67534ca5c4a16f730f6449fd4db1b507927
Bug 13496: make auth.tt use a template plugin to get the Koha version

This patch makes the installer login template use the new Koha.Version
template plugin to get the correct Koha version. This way we don't need
to maintain the auth.tt file on each version change, and are sure screen
readers tell the correct version.

To test:
- Create a situation where the login screen from the installer shows
- Navigate the HTML code (Ctrl+u)
=> FAIL: "Koha 3.0 Installer" shows on the HTML code
- Apply the patch
- Reload the page
=> SUCCESS: The correct version number is shown.
- Sign off :-D

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/installer/auth.tt