Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-discharge.tt
1 [% USE Koha %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Discharge
4 [% INCLUDE 'doc-head-close.inc' %]
5 [% BLOCK cssinclude %][% END %]
6 </head>
7 <body id="opac-discharge" class="scrollto">
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="#">Discharge</a></li>
14     </ul>
15
16     <div class="container-fluid">
17         <div class="row-fluid">
18             <div class="span2">
19                 <div id="navigation">
20                     [% INCLUDE 'navigation.inc' IsPatronPage=1 %]
21                 </div>
22             </div>
23             <div class="span10">
24                 <div id="discharge" class="maincontainer">
25                     <h1>Discharge</h1>
26                     [% FOR message IN messages %]
27                         <div class="dialog [% message.type %]">
28                         [% IF message.code == "unable_to_generate_pdf" %]
29                             An error occurs when generating the pdf file.
30                             Please contact the staff to resolve this problem.
31                         [% END %]
32                         </div>
33                     [% END %]
34
35                     [% IF success %]
36                         <p>Your discharge request has been sent. Your discharge will be available on this page within a few days.</p>
37                     [% ELSIF available %]
38                         <a href="/cgi-bin/koha/opac-discharge.pl?op=get">Get your discharge</a></li>
39                     [% ELSIF pending %]
40                         <p>Your discharge will be available on this page within a few days.</p>
41                     [% ELSIF has_issues %]
42                         <p>You cannot be discharged, you have issues. Please return items before asking for a discharge.</p>
43                     [% ELSIF not messages %]
44                         <h2>What is a discharge?</h2>
45                         <p>This document certifies that you have returned all borrowed items. It is sometimes asked during a file transfer from a school to another. The discharge is sent by us to your school. You will also find it available on your reader account.</p>
46                         <p><strong>Warning</strong>: This request is only valid if you are in good standing with the library. Once the application is made, you can not borrow library materials.</p>
47                         <a href="/cgi-bin/koha/opac-discharge.pl?op=request">Ask for a discharge</a>
48                     [% END %]
49                 </div> <!-- / #discharge -->
50             </div> <!-- / .span10 -->
51         </div> <!-- / .row-fluid -->
52     </div>  <!-- / .container-fluid -->
53 </div> <!-- / .main -->
54
55 [% INCLUDE 'opac-bottom.inc' %]
56 [% BLOCK jsinclude %][% END %]