Bug 19532: (follow-up) aria-hidden attr on OPAC, and more
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-sendshelfform.tt
1 [% USE Koha %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Sending your list &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='sendshelf' bodyclass='popup' %]
8     <div class="main">
9         <div class="container-fluid">
10             <div class="row">
11                 <div class="col order-first order-md-first order-lg-2">
12                     <div id="usersendshelfform" class="maincontent">
13                         [% IF ( email ) %]
14                             [% IF ( SENT ) %]
15                                 <h1>Message sent</h1>
16                                 <div class="alert alert-success">
17                                     <p>The list was sent to: [% email | html %]</p>
18                                 </div>
19                                 <p><a class="focus close" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelfid | html %]">Back to lists</a></p>
20                             [% END %]
21                             [% IF ( error ) %]
22                                 <div class="alert alert-warning">
23                                     <p>There was an error sending the list.</p>
24                                 </div>
25                             [% END %]
26                         [% ELSE %]
27                             [% IF ( invalidlist ) %]
28                                 <div class="alert alert-warning">
29                                     <p>You do not have permission to send this list.</p>
30                                 </div>
31                                 <p><a class="button close" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelfid | html %]">Back to lists</a></p>
32                             [% ELSE %]
33                                 <form action="/cgi-bin/koha/opac-sendshelf.pl" method="post" id="sendshelfform">
34                                     <legend><h1>Sending your list</h1></legend>
35                                     <fieldset>
36                                         <label for="email">Email address:</label>
37                                         <input type="text" id="email" name="email" size="43" class="focus" />
38
39                                         <label for="comment">Comment:</label>
40                                         <textarea id="comment" name="comment" rows="4" cols="40"></textarea>
41
42                                         <input type="hidden" name="shelfid" value="[% shelfid | html %]" />
43                                     </fieldset>
44                                     [% IF Koha.Preference('OPACHoldRequests') || Koha.Preference('OpacRenewalAllowed') %]<p id="donotrequestbymail">Please do not use this mail to request or renew books.</p>[% END %]
45                                     <fieldset class="action">
46                                         <input type="submit" value="Send" class="btn btn-primary" />
47                                         <a class="cancel close" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelfid | html %]">Cancel</a>
48                                     </fieldset>
49                                 </form>
50
51                             [% END # / IF invalidlist %]
52                         [% END # / IF email %]
53                     </div> <!-- / #usersendshelfform -->
54                 </div> <!-- / .span12 -->
55             </div> <!-- / .row -->
56         </div> <!-- / .container-fluid -->
57     </div> <!-- / .main -->
58
59 [% INCLUDE 'opac-bottom.inc' is_popup=1 %]
60 [% BLOCK jsinclude %][% END %]