Bugzilla – Attachment 34853 Details for
Bug 13496
Wrong Koha version on installer title
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13496: make auth.tt use a template plugin to get the Koha version
Bug-13496-make-authtt-use-a-template-plugin-to-get.patch (text/plain), 1.70 KB, created by
Chris Cormack
on 2015-01-01 06:24:50 UTC
(
hide
)
Description:
Bug 13496: make auth.tt use a template plugin to get the Koha version
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2015-01-01 06:24:50 UTC
Size:
1.70 KB
patch
obsolete
>From 837f5716e7fcba47b4fc54c745eee174a8f01f4a Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Sun, 28 Dec 2014 21:20:55 -0300 >Subject: [PATCH] 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> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/installer/auth.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/auth.tt >index 026d022..d55c71e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/auth.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/auth.tt >@@ -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 %] >-- >2.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13496
:
34777
|
34778
|
34852
|
34853
|
34899
|
34900