Bug 35261: Update links for self registration avoiding "here"
This patch updates several OPAC templates to change the wording of the self registration link to "Create an account." Minor adjustments to CSS have been made to make whitespace around the links more comfortable. To test, apply the patch and rebuild the OPAC CSS. - If necessary enable the PatronSelfRegistration system preference is enabled. - Go to the OPAC and check the login form in the right-hand sidebar. - Click the "Log in to your account" link in the header and check the form displayed in the modal window. - Navigate directly to /cgi-bin/koha/opac-user.pl and check the link on the login page. - Complete the self-registration process and check the link in the right-hand sidebar menu on the "Registration complete" page. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
db19d3f18d
commit
1869a0e18c
5 changed files with 24 additions and 12 deletions
|
@ -315,6 +315,14 @@ th {
|
|||
}
|
||||
}
|
||||
|
||||
#auth {
|
||||
margin-bottom: 1rem;
|
||||
|
||||
p {
|
||||
margin: .5rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
#basketcount {
|
||||
display: inline;
|
||||
margin: 0;
|
||||
|
@ -2074,6 +2082,10 @@ nav {
|
|||
}
|
||||
}
|
||||
|
||||
p {
|
||||
margin: .5rem 0;
|
||||
}
|
||||
|
||||
.closebtn {
|
||||
color: #C00;
|
||||
opacity: 1;
|
||||
|
@ -2091,10 +2103,8 @@ nav {
|
|||
}
|
||||
}
|
||||
|
||||
.nologininstructions,
|
||||
.forgotpassword,
|
||||
.patronregistration {
|
||||
padding-top: 1em;
|
||||
#nologininstructions {
|
||||
margin: .5rem 0;
|
||||
}
|
||||
|
||||
.registration-label {
|
||||
|
|
|
@ -439,12 +439,12 @@
|
|||
[% END %]
|
||||
[% IF Koha.Preference('OpacPasswordChange') && Categories.can_any_reset_password %]
|
||||
<div id="forgotpassword-modal" class="forgotpassword">
|
||||
<a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a>
|
||||
<p><a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a></p>
|
||||
</div>
|
||||
[% END %]
|
||||
[% IF Koha.Preference('PatronSelfRegistration') && Categories.all( categorycode => Koha.Preference('PatronSelfRegistrationDefaultCategory') ).count %]
|
||||
<div id="patronregistration-modal" class="patronregistration">
|
||||
<p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p>
|
||||
<p><a href="/cgi-bin/koha/opac-memberentry.pl">Create an account</a></p>
|
||||
</div>
|
||||
[% END %]
|
||||
</fieldset>
|
||||
|
|
|
@ -243,14 +243,12 @@
|
|||
</div>
|
||||
[% IF Koha.Preference('OpacPasswordChange') && Categories.can_any_reset_password %]
|
||||
<div id="forgotpassword">
|
||||
<a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a>
|
||||
<p><a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a></p>
|
||||
</div>
|
||||
[% END %]
|
||||
[% IF Koha.Preference('PatronSelfRegistration') && Categories.all( categorycode => Koha.Preference('PatronSelfRegistrationDefaultCategory') ).count %]
|
||||
<div id="registrationinstructions">
|
||||
<span>
|
||||
<a href="/cgi-bin/koha/opac-memberentry.pl">You may register here.</a>
|
||||
</span>
|
||||
<p><a href="/cgi-bin/koha/opac-memberentry.pl">Create an account</a></p>
|
||||
</div>
|
||||
[% END %]
|
||||
</form>
|
||||
|
|
|
@ -217,7 +217,7 @@
|
|||
[% END %]
|
||||
[% IF Koha.Preference('PatronSelfRegistration') && Categories.all( categorycode => Koha.Preference('PatronSelfRegistrationDefaultCategory') ).count %]
|
||||
<div id="patronregistration-main" class="patronregistration">
|
||||
<p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p>
|
||||
<p><a href="/cgi-bin/koha/opac-memberentry.pl">Create an account</a></p>
|
||||
</div>
|
||||
[% END %]
|
||||
</fieldset>
|
||||
|
|
|
@ -96,7 +96,11 @@
|
|||
<fieldset class="action">
|
||||
<input type="submit" value="Log in" class="btn btn-primary" />
|
||||
</fieldset>
|
||||
[% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<div id="patronregistration"><p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p></div>[% END %]
|
||||
[% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]
|
||||
<div id="patronregistration">
|
||||
<p><a href="/cgi-bin/koha/opac-memberentry.pl">Create an account</a></p>
|
||||
</div>
|
||||
[% END %]
|
||||
</fieldset>
|
||||
</form> <!-- /#auth -->
|
||||
</div> <!-- /#login -->
|
||||
|
|
Loading…
Reference in a new issue