From 518235e023b837cc9f259ce8daf164f46c1ce04c Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Fri, 21 Sep 2012 11:43:38 +0200 Subject: [PATCH] [Signed-off] Bug 7867: Staff and OPAC login areas lack consistency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch: - Changes the Staff client's login area text from "Username:" into "Login:", since login is more generic than username. - Adds a tool tip to the staff client's login area 'Login:' textbox: "Please enter your username or card number." - Adds a tool tip to the main OPAC screen's login area 'Login:' textbox using the bootstrap theme: "Please enter your username or card number." - Adds a tool tip to the main OPAC screen's login area 'Login:' textbox using the prog theme: "Please enter your username or card number." - Adds a tool tip to the OPAC screen triggered by clicking the 'Log in to your account' link in the top right using the bootstrap theme: "Please enter your username or card number." - Adds a tool tip to the OPAC screen triggered by clicking the 'Log in to your account' link in the top right using the bootstrap theme: "Please enter your username or card number." NOTE: koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt was modified similarly as well, though I don't think it can be triggered, since the modal login screen of bootstrap is triggered by the 'Log in to your account' link, and it no longer goes to page it did before. The page still exists by going there by pasting in the known URL. TEST PLAN --------- 1) Go to staff client. 2) Log in and change the OPAC system preference opacthemes to 'bootstrap'. 3) Logout. 4) Go to OPAC in a different tab. -- notice staff client's "Username:" differs from the OPAC's "Login" text. 5) Click the 'Log in to your account' link in the top right. -- notice staff client's "Username:" differs from the OPAC's "Login" text. 6) Go to http://YOUROPAC/cgi-bin/koha/opac-user.pl -- notice staff client's "Username:" differs from the OPAC's "Login" text. 7) Log in to the staff client and change the OPAC system preference opacthemes to 'prog'. 8) Logout 9) In the OPAC tab, reload the page. -- notice staff client's "Username:" differs from the OPAC's "Login" text. 10) Click the icon in the top left to return to the main Koha screen. -- notice staff client's "Username:" differs from the OPAC's "Login" text. 11) Apply the patch 12) Repeat steps 1-10 again. -- The textbox associated with the login should have a tooltip: "Please enter your username or card number." 13) Run the koha qa test tool. Followed test plan (without qa test tool). Login screens display as expected. Signed-off-by: Marc VĂ©ron --- koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt | 4 ++-- koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 2 +- koha-tmpl/opac-tmpl/prog/en/modules/opac-auth.tt | 2 +- koha-tmpl/opac-tmpl/prog/en/modules/opac-main.tt | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt index 5f97758..ea7e3d3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt @@ -48,8 +48,8 @@ [% FOREACH INPUT IN INPUTS %] [% END %] -

- +

+

diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc index d17f893..9a3b43d 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -279,7 +279,7 @@