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