Bug 29543: Prevent user to checkin or renew items they don't own
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-alert-subscribe.tt
1 [% USE Koha %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title> [% IF ( typeissue ) %]Subscribe to a subscription alert [% ELSIF ( typeissuecancel ) %] Unsubscribe from a subscription alert [% END %] &rsaquo; [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</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' %]
9
10     <div class="main">
11         <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
12             <ol class="breadcrumb">
13                 <li class="breadcrumb-item">
14                     <a href="/cgi-bin/koha/opac-main.pl">Home</a>
15                 </li>
16                 <li class="breadcrumb-item">
17                     <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | uri %]">Details for [% bibliotitle | html %]</a>
18                 </li>
19                 <li class="breadcrumb-item active">
20                     <a href="#" aria-current="page">
21                         [% IF ( typeissue ) %]
22                             Subscribe to a subscription alert
23                         [% ELSIF ( typeissuecancel ) %]
24                             Unsubscribe from a subscription alert
25                         [% END %]
26                     </a>
27                 </li>
28             </ol>
29         </nav> <!-- /#breadcrumbs -->
30
31         <div class="container-fluid">
32             <div class="row">
33                 <div class="col order-first order-md-first order-lg-2">
34                     <div id="useralertsubscribe" class="maincontent">
35                             <h1>Subscription alerts</h1>
36                         [% IF ( typeissue ) %]
37                             <h2>Subscribe to a subscription alert</h2>
38                             <form action="opac-alert-subscribe.pl" method="post">
39                                 <p>Do you want to receive an email when a new issue for this subscription arrives?</p>
40                                 <h3>[% bibliotitle | html %]</h3>
41                                 [% IF ( notes ) %]<p>[% notes | html %]</p>[% END %]
42                                 <input type="hidden" name="subscriptionid" value="[% subscriptionid | html %]">
43                                 <input type="hidden" name="referer" value="[% referer | html %]">
44                                 <input type="hidden" name="biblionumber" value="[% biblionumber | html %]">
45                                 <input type="hidden" name="op" value="alert_confirmed">
46                                 <input type="submit" class="btn btn-primary" value="Yes">
47                                 <a class="cancel" href="opac-serial-issues.pl?biblionumber=[% biblionumber | html %]" >No</a>
48                             </form>
49                         [% END %]
50                         [% IF ( typeissuecancel ) %]
51                             <h2>Unsubscribe from a subscription alert</h2>
52                             <form action="opac-alert-subscribe.pl" method="post">
53                                 <p>Please confirm that you do not want to receive email when a new issue arrives for this subscription.</p>
54                                 <h3>[% bibliotitle | html %]</h3>
55                                 [% IF ( notes ) %]<p>[% notes | html %]</p>[% END %]
56                                 <input type="hidden" name="subscriptionid" value="[% subscriptionid | html %]">
57                                 <input type="hidden" name="referer" value="[% referer | html %]">
58                                 <input type="hidden" name="biblionumber" value="[% biblionumber | html %]">
59                                 <input type="hidden" name="op" value="cancel_confirmed">
60                                 <input type="submit" value="Yes" class="btn btn-primary">
61                                 <a href="opac-serial-issues.pl?biblionumber=[% biblionumber | uri %]" class="cancel">No</a>
62                             </form>
63                         [% END %]
64                     </div> <!-- / #useralertsubscribe -->
65                 </div> <!-- / .span10/12 -->
66             </div> <!-- / .row -->
67         </div> <!-- / .container-fluid -->
68     </div> <!-- / .main -->
69
70 [% INCLUDE 'opac-bottom.inc' %]
71 [% BLOCK jsinclude %][% END %]