Koha/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-issue-note.tt
Jonathan Druart 9d10d07612 Bug 21137: Replace BORROWER_INFO with logged_in_user
it also removes 'category_type' and 'description' from a couple of
opac scripts, they are not needed.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-08-14 12:43:12 +00:00

54 lines
2.7 KiB
Text

[% USE Koha %]
[% USE KohaDates %]
[% USE Branches %]
[% INCLUDE 'doc-head-open.inc' %]
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Your library home</title>
[% INCLUDE 'doc-head-close.inc' %]
[% BLOCK cssinclude %][% END %]
</head>
[% INCLUDE 'bodytag.inc' bodyid='opac-issue-note' %]
[% INCLUDE 'masthead.inc' %]
<div class="main">
<ul class="breadcrumb">
<li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
<li><a href="/cgi-bin/koha/opac-user.pl">[% INCLUDE 'patron-title.inc' patron = logged_in_user %]</a><span class="divider">&rsaquo;</span></li>
<li><a href="#">Editing issue note for [% ISSUE.title %] - [% ISSUE.author %]</a></li>
</ul>
<div class="container-fluid">
<div class="row-fluid">
<div class="span2">
<div id="navigation">
[% INCLUDE 'navigation.inc' IsPatronPage=1 %]
</div>
</div>
<div class="span10">
<div id="issuenote" class="maincontent">
<h3>Editing issue note for [% title %] [% author %]</h3>
[% IF not(Koha.Preference("AllowCheckoutNotes")) %]
Issue notes have not been enabled. Please contact the library.
[% ELSE %]
<form id="issue-note" action="/cgi-bin/koha/opac-issue-note.pl" method="post">
<fieldset>
<label for="note" class="required">Note:</label>
<input type="text" name="note" value="[% note %]">
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]">
<input type="hidden" name="itemnumber" value="[% itemnumber %]">
<input type="hidden" name="issue_id" value="[% issue_id %]">
<input type="hidden" name="action" value="issuenote">
</fieldset>
<fieldset class="action">
<input type="submit" value="Submit note" class="btn btn-default btn-sm"><a href="/cgi-bin/koha/opac-user.pl" class="cancel">Cancel</a>
</fieldset>
</form> <!-- issue-note -->
[% END %]
</div> <!-- issuenote -->
</div> <!-- span10 -->
</div> <!-- row-fluid -->
</div> <!-- container-fluid -->
</div> <!-- main -->
[% INCLUDE 'opac-bottom.inc' %]
[% BLOCK jsinclude %][% END %]