[Koha-bugs] [Bug 10951] New: Make the NoLoginInstructions a customizable field through preferences
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Sep 25 22:42:20 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10951
Bug ID: 10951
Summary: Make the NoLoginInstructions a customizable field
through preferences
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: OPAC
Assignee: oleonard at myacpl.org
Reporter: philippe.blouin at inlibro.com
QA Contact: testopia at bugs.koha-community.org
On a failed login, the default message is harcorded into opac-auth.tt.
It would be preferable to allow for a preference to override that message (for
example: ...Please bring an ID to the front desk located on 3rd floor...)
The changes modify
-opac-auth.tt to allow for custom value
-admin/preferences/opac.pref to add it to the preferences with a description
-C4/Auth.pm for the loading of the preference
TESTING
1) in OPAC, logged out, try login in by entering no or wrong credentials.
Acknowledge the "Don't have a passord yet?" message
2) Apply the patch
3) Regression Test: Redo step 1. Same (default) message should appear.
4) Log in to intranet,
- select NoLoginInstructions in system preferences.
- Enter new (xml) message. Possible:
<h5>Welcome to Koha, please bring your passport to the front office</h5>
- and save
5) refresh the OPAC, try login again with invalid credentials. The new message
should appear.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list