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