http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10951

Blou <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21460|0                           |1
        is obsolete|                            |

--- Comment #7 from Blou <[email protected]> ---
Created attachment 21510
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21510&action=edit
Bug 10951 - Adding NoLoginInstructions to system preferences

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to