Bugzilla – Attachment 39168 Details for
Bug 8753
Add forgot password link to OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8753 - followup - update text for link to match common UI paradigms, fixes OpacPublic disabled view
Bug-8753---followup---update-text-for-link-to-matc.patch (text/plain), 5.02 KB, created by
Liz Rea
on 2015-05-13 23:00:04 UTC
(
hide
)
Description:
Bug 8753 - followup - update text for link to match common UI paradigms, fixes OpacPublic disabled view
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2015-05-13 23:00:04 UTC
Size:
5.02 KB
patch
obsolete
>From d72371ef8a43e0ead8ec51840ec54c4a6762b7a1 Mon Sep 17 00:00:00 2001 >From: Liz Rea <liz@catalyst.net.nz> >Date: Thu, 14 May 2015 10:54:28 +1200 >Subject: [PATCH] Bug 8753 - followup - update text for link to match common UI > paradigms, fixes OpacPublic disabled view > >Also corrects OpacNav being included on the reset page on private catalogues. > >Updated the link for forgotten passwords to more closely match common UI paradigms, i.e. Facebook and Twitter > >To test: >apply all patches, link should now be the less verbose "Forgot your password?" >disable OpacPublic, anything in opacnav should not appear (you may need to add something to opacnav to test properly) >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 3 +-- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt | 3 +-- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 3 +-- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt | 5 ++++- > 4 files changed, 7 insertions(+), 7 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >index 635bb87..7571529 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >@@ -304,8 +304,7 @@ > <label for="mpassword">Password:</label><input type="password" id="mpassword" name="password" /> > [% IF Koha.Preference('OpacPasswordChange') && Koha.Preference('OpacResetPassword') %] > <div id="forgotpassword-modal"> >- <h5>Forgot your password?</h5> >- <p>If you do not remember your password, click <a href="/cgi-bin/koha/opac-password-recovery.pl">here</a> to create a new one.</p> >+ <a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a> > </div> > [% END %] > [% IF Koha.Preference( 'NoLoginInstructions' ) %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >index f3cd7b0..51bbab3 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >@@ -152,8 +152,7 @@ > <input type="submit" value="Log in" class="btn" /> > [% IF Koha.Preference('OpacPasswordChange') && Koha.Preference('OpacResetPassword') %] > <div id="forgotpassword"> >- <h5>Forgot your password?</h5> >- <p>If you do not remember your password, click <a href="/cgi-bin/koha/opac-password-recovery.pl">here</a> to create a new one.</p> >+ <a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a> > </div> > [% END %] > <div id="nologininstructions"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >index 9dd76b2..dac6686 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >@@ -86,8 +86,7 @@ > </fieldset> > [% IF Koha.Preference('OpacPasswordChange') && Koha.Preference('OpacResetPassword') %] > <div id="forgotpassword"> >- <h5>Forgot your password?</h5> >- <p>If you do not remember your password, click <a href="/cgi-bin/koha/opac-password-recovery.pl">here</a> to create a new one.</p> >+ <a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a> > </div> > [% END %] > [% IF Koha.Preference( 'NoLoginInstructions' ) %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt >index 8eedb7d..0161bd3 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt >@@ -36,9 +36,12 @@ > <div class="container-fluid"> > <div class="row-fluid"> > <div class="span2"> >+ [% IF ( OpacPublic ) %] >+ > <div id="navigation"> > [% INCLUDE 'navigation.inc' IsPatronPage=0 %] > </div> >+ [% END %] > </div> > <div class="span10"> > <h3>Password recovery</h3> >@@ -131,4 +134,4 @@ > </div><!-- / .row-fluid --> > </div><!-- / .container-fluid --> > </div><!-- / .main --> >-[% INCLUDE 'opac-bottom.inc' %] >\ No newline at end of file >+[% INCLUDE 'opac-bottom.inc' %] >-- >1.9.1
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 8753
:
21502
|
21512
|
21521
|
21849
|
22175
|
22430
|
24586
|
24780
|
24781
|
24846
|
24853
|
24854
|
24855
|
24862
|
24906
|
24907
|
24908
|
25038
|
25039
|
25051
|
29111
|
33175
|
33176
|
34472
|
36819
|
37492
|
39049
|
39144
|
39165
|
39166
|
39167
|
39168
|
39827
|
41181
|
41192
|
41193
|
41455
|
41686
|
41687
|
41688
|
41706
|
43017
|
43183
|
43576
|
44305
|
44306
|
44307
|
44308
|
44309
|
44310
|
44311
|
44323
|
44324
|
44325
|
44326
|
44327
|
44329
|
44330
|
45209
|
45210
|
45211
|
45212
|
45213
|
45214
|
45215
|
45223
|
45224
|
45225
|
45226
|
45227
|
45228
|
45229
|
45230
|
46379
|
47164
|
47165
|
47166
|
47167
|
47168
|
47169
|
47170
|
47171
|
47357
|
47366