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>
This commit is contained in:
parent
d8eff67534
commit
058470acee
1 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
[% USE Koha %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Koha ›
|
||||
[% IF ( nopermission ) %]Access denied[% END %]
|
||||
|
@ -9,7 +10,7 @@
|
|||
|
||||
[% INCLUDE 'installer-doc-head-close.inc' %]
|
||||
<div id="login">
|
||||
<h1><a>Koha 3.0 Installer</a></h1>
|
||||
<h1><a>Koha [%- Koha.Version.release -%] installer</a></h1>
|
||||
[% IF ( nopermission ) %]
|
||||
<div id="login_error"><strong>Error: </strong>Unauthorized user <a href="/cgi-bin/koha/mainpage.pl?logout.x=1">click to log out</a></div>
|
||||
[% END %]
|
||||
|
|
Loading…
Reference in a new issue