Bug 28955: (follow-up) Set to fall back
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-issue-note.tt
1 [% USE Koha %]
2 [% USE KohaDates %]
3 [% USE Branches %]
4 [% USE AdditionalContents %]
5 [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
6 [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
7 [% INCLUDE 'doc-head-open.inc' %]
8 <title>Editing issue note for [% title | html %] &rsaquo; [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
9 [% INCLUDE 'doc-head-close.inc' %]
10 [% BLOCK cssinclude %][% END %]
11 </head>
12 [% INCLUDE 'bodytag.inc' bodyid='opac-issue-note' %]
13 [% INCLUDE 'masthead.inc' %]
14
15 <div class="main">
16     <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
17         <ol class="breadcrumb">
18             <li class="breadcrumb-item">
19                 <a href="/cgi-bin/koha/opac-main.pl">Home</a>
20             </li>
21             <li class="breadcrumb-item">
22                 <a href="/cgi-bin/koha/opac-user.pl">[% INCLUDE 'patron-title.inc' patron = logged_in_user %]</a>
23             </li>
24             <li class="breadcrumb-item active">
25                 <a href="#" aria-current="page">Editing issue note for [% title | html %] [% author | html %]</a>
26             </li>
27         </ol>
28     </nav> <!-- /#breadcrumbs -->
29
30     <div class="container-fluid">
31         <div class="row">
32             <div class="col-lg-2">
33                 <div id="navigation">
34                     [% INCLUDE 'navigation.inc' IsPatronPage=1 %]
35                 </div>
36             </div>
37             <div class="col-10 order-first order-md-first order-lg-2">
38                 <div id="issuenote" class="maincontent">
39                     <h1>Editing issue note for [% title | html %] [% author | html %]</h1>
40                         [% IF not(Koha.Preference("AllowCheckoutNotes")) %]
41                             Issue notes have not been enabled. Please contact the library.
42                         [% ELSE %]
43                             <form id="issue-note" action="/cgi-bin/koha/opac-issue-note.pl" method="post">
44                                 <legend class="sr-only">Edit issue note</legend>
45                                 <fieldset>
46                                     <label for="note" class="required">Note:</label>
47                                     <input type="text" name="note" value="[% note | html %]">
48                                     <input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]">
49                                     <input type="hidden" name="itemnumber" value="[% itemnumber | html %]">
50                                     <input type="hidden" name="issue_id" value="[% issue_id | html %]">
51                                     <input type="hidden" name="action" value="issuenote">
52                                 </fieldset>
53                                 <fieldset class="action">
54                                     <input type="submit" value="Submit note" class="btn btn-primary"><a href="/cgi-bin/koha/opac-user.pl" class="cancel">Cancel</a>
55                                 </fieldset>
56                             </form> <!-- issue-note -->
57                         [% END %]
58                 </div> <!-- issuenote -->
59             </div> <!-- col-10 -->
60         </div> <!-- row-fluid -->
61     </div> <!-- container-fluid -->
62
63 </div> <!-- main -->
64
65 [% INCLUDE 'opac-bottom.inc' %]
66 [% BLOCK jsinclude %][% END %]