Bug 10357: Adding link for email notification for new subscription issues to opac...
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-alert-subscribe.tt
blobf195feb57a8cde5c7113b1e072dd843d9b258923
1 [% USE Koha %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;  [% IF ( typeissue ) %]Subscribe to a subscription alert [% ELSIF ( typeissuecancel ) %] Unsubscribe from a subscription alert [% END %]</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 [% BLOCK cssinclude %][% END %]
6 </head>
7 [% INCLUDE 'bodytag.inc' bodyid='opac-alert-subscribe' %]
8 [% INCLUDE 'masthead.inc' %]
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="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]">Details for [% bibliotitle %]</a> <span class="divider">&rsaquo;</span></li>
14             <li><a href="#">[% IF ( typeissue ) %]Subscribe to a subscription alert [% ELSIF ( typeissuecancel ) %] Unsubscribe from a subscription alert [% END %]</a></li>
15         </ul>
17         <div class="container-fluid">
18             <div class="row-fluid">
19                 <div class="span12">
20                     <div id="useralertsubscribe">
21                         [% IF ( typeissue ) %]
22                             <h1>Subscribe to a subscription alert</h1>
23                             <form action="opac-alert-subscribe.pl" method="post">
24                                 <p>Do you want to receive an email when a new issue for this subscription arrives?</p>
25                                 <h4>[% bibliotitle %]</h4>
26                                 [% IF ( notes ) %]<p>[% notes %]</p>[% END %]
27                                 <input type="hidden" name="externalid" value="[% externalid %]">
28                                 <input type="hidden" name="alerttype" value="[% alerttype %]">
29                                 <input type="hidden" name="biblionumber" value="[% biblionumber %]">
30                                 <input type="hidden" name="op" value="alert_confirmed">
31                                 <input type="submit" class="btn" value="Yes">
32                                 <a class="cancel" href="opac-serial-issues.pl?biblionumber=[% biblionumber %]" >No</a>
33                             </form>
34                         [% END %]
35                         [% IF ( typeissuecancel ) %]
36                             <h1>Unsubscribe from a subscription alert</h1>
37                             <form action="opac-alert-subscribe.pl" method="post">
38                                 <p>Please confirm that you do not want to receive email when a new issue arrives for this subscription.</p>
39                                 <h4>[% bibliotitle %]</h4>
40                                 [% IF ( notes ) %]<p>[% notes %]</p>[% END %]
41                                 <input type="hidden" name="externalid" value="[% externalid %]">
42                                 <input type="hidden" name="alerttype" value="[% alerttype %]">
43                                 <input type="hidden" name="biblionumber" value="[% biblionumber %]">
44                                 <input type="hidden" name="op" value="cancel_confirmed">
45                                 <input type="submit" value="Yes" class="btn">
46                                 <a href="opac-serial-issues.pl?biblionumber=[% biblionumber %]" class="cancel">No</a>
47                             </form>
48                         [% END %]
49                     </div> <!-- / #useralertsubscribe -->
50                 </div> <!-- / .span10/12 -->
51             </div> <!-- / .row-fluid -->
52         </div> <!-- / .container-fluid -->
53     </div> <!-- / .main -->
55 [% INCLUDE 'opac-bottom.inc' %]
56 [% BLOCK jsinclude %][% END %]