Bug 15494: Update display of renewal errors
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-registration-confirmation.tt
1 [% USE raw %]
2 [% USE Koha %]
3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
5 [% INCLUDE 'doc-head-close.inc' %]
6 [% BLOCK cssinclude %][% END %]
7 </head>
8 [% INCLUDE 'bodytag.inc' bodyid='opac-main' %]
9 [% INCLUDE 'masthead.inc' %]
10
11     <div class="main">
12         <ul class="breadcrumb">
13             <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
14             <li><a href="#">Registration complete</a></li>
15         </ul>
16
17         <div class="container-fluid">
18             <div class="row-fluid">
19                 [% IF ( OpacNav || OpacNavBottom ) %]
20                     <div class="span2">
21                         <div id="navigation">
22                             [% INCLUDE 'navigation.inc' %]
23                         </div>
24                     </div>
25                 [% END %]
26
27                 [% IF ( OpacNav ||  OpacNavBottom ) %]
28                     <div class="span7">
29                 [% ELSE %]
30                     <div class="span9">
31                 [% END %]
32
33                     <div id="registration-complete">
34                         <h1>Registration Complete!</h1>
35
36                         <p>You have successfully registered your new account.</p>
37                         [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
38                             <p>To log in, use the following credentials:</p>
39
40                             <p id="patron-userid-p">
41                                 <span id="patron-userid-label">Username:</span>
42                                 <span id="patron-userid">[% borrower.userid | html %]</span>
43                             </p>
44                             <p id="patron-password-p">
45                                 <span id="patron-password-label">Password:</span>
46                                 <span id="patron-password">[% password_cleartext | html %]</span>
47                             </p>
48
49                             [% IF borrower.cardnumber %]
50                                 <p id="patron-cardnumber-p">
51                                     <span id="patron-cardnumber-label">Card number:</span>
52                                     <span id="patron-cardnumber">[% borrower.cardnumber | html %]</span>
53                                 </p>
54                             [% END %]
55
56                             <p id="patron-instructions">For your convenience, the login box on this page has been pre-filled with this data. Please log in[% IF OpacPasswordChange %] and change your password[% END %].</p>
57                         [% END %]
58
59                         <div id="PatronSelfRegistrationAdditionalInstructions">[% PatronSelfRegistrationAdditionalInstructions | $raw %]</div>
60                     </div>
61
62                 </div> <!-- / .span7/9 -->
63
64                     [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) || OpacNavRight ) %]
65                         <div class="span3">
66                             [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
67                                 [% UNLESS ( loggedinusername ) %]
68                                     [% UNLESS ( casAuthentication ) %]
69                                         <div id="login">
70                                             <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth" autocomplete="off">
71                                                 <input type="hidden" name="koha_login_context" value="opac" />
72                                                 <fieldset class="brief">
73                                                     <legend>Log in to your account:</legend>
74                                                     <label for="userid">Login:</label>
75                                                     [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
76                                                         <input type="text" id="userid" size="10" name="userid" value="[% borrower.userid | html %]" />
77                                                     [% ELSE %]
78                                                         <input type="text" id="userid" size="10" name="userid" value="" />
79                                                     [% END %]
80                                                     <label for="password">Password:</label>
81                                                     [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
82                                                         <input type="password" id="password" size="10" name="password" value="[% password_cleartext | html %]" />
83                                                     [% ELSE %]
84                                                         <input type="password" id="password" size="10" name="password" value="" />
85                                                     [% END %]
86                                                 <fieldset class="action">
87                                                     <input type="submit" value="Log in" class="btn" />
88                                                 </fieldset>
89                                                 [% 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 %]
90                                                 </fieldset>
91                                             </form>
92                                         </div> <!-- /#login -->
93                                     [% END # /casAuthentication %]
94                                 [% END # / loggedinusername %]
95                             [% END # /opacuserlogin %]
96                             [% IF ( OpacNavRight ) %]
97                                 <div id="opacnavright">
98                                     [% OpacNavRight | $raw %]
99                                 </div>
100                             [% END # /OpacNavRight %]
101                         </div> <!-- / .span3 -->
102                     [% END # /opacuserlogin || OpacNavRight %]
103
104             </div> <!-- /.row-fluid -->
105         </div> <!-- /.container-fluid -->
106     </div> <!-- /.main -->
107
108 [% INCLUDE 'opac-bottom.inc' %]
109 [% BLOCK jsinclude %][% END %]