Jonathan Druart
3fe837bc74
We are using Koha::Logger when it makes sense to keep the info, otherwise we simply remove it Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Bug 28572: Replace missing occurrence in misc/admin/koha-preferences Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
73 lines
3.9 KiB
Text
73 lines
3.9 KiB
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Comments on [% INCLUDE 'biblio-title-head.inc' %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
[% BLOCK cssinclude %][% END %]
|
|
</head>
|
|
[% INCLUDE 'bodytag.inc' bodyid='comment' bodyclass='popup' %]
|
|
<div class="main">
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col order-first order-md-first order-lg-2">
|
|
<div id="userreview" class="maincontent">
|
|
<h1>Reviews</h1>
|
|
[% IF ( ERRORS ) %]
|
|
<div class="alert alert-warning">
|
|
[% FOREACH ERROR IN ERRORS %]
|
|
[% IF ( ERROR.nobiblio ) %]
|
|
<p>Error: we cannot find this bibliographic record.</p>
|
|
[% END %]
|
|
[% IF ( ERROR.unauthorized ) %]
|
|
<p>Sorry, only the creator of this comment is allowed to change it.</p>
|
|
[% END %]
|
|
[% IF ( ERROR.scrubbed ) %]
|
|
<p>Note: your comment contained illegal markup code. It has been saved with the markup removed, as below. You can edit the comment further, or cancel to retain the comment as is.</p>
|
|
[% END %]
|
|
|
|
[% IF ( ERROR.scrubbed_all ) %]
|
|
<p>Error! Your comment was entirely illegal markup code. It has NOT been added.</p>
|
|
[% END %]
|
|
|
|
[% IF ( ERROR.empty ) %]
|
|
<p>Error! You cannot add an empty comment. Please add content or cancel.</p>
|
|
[% END %]
|
|
[% END # / FOREACH ERROR %]
|
|
[% IF ( WINDOW_CLOSE ) %]
|
|
Note: this window will close automatically in 5 seconds.
|
|
[% END %]
|
|
</div>
|
|
[% END # / ERRORs %]
|
|
|
|
<h2>Comments on <em>[% INCLUDE 'biblio-title.inc' %]</em></h2>
|
|
[% IF ( biblio.author ) %]<h3>[% biblio.author | html %]</h3>[% END %]
|
|
<form id="reviewf" action="/cgi-bin/koha/opac-review.pl" method="post">
|
|
<legend class="sr-only">Comments</legend>
|
|
<input type="hidden" name="biblionumber" value="[% biblio.biblionumber | html %]" />
|
|
[% IF ( reviewid ) %]<input type="hidden" name="reviewid" value="[% reviewid | html %]" />[% END %]
|
|
<fieldset>
|
|
<textarea id="review" name="review" cols="60" rows="8">[% review | html %]</textarea>
|
|
</fieldset>
|
|
<p>Note: Your comment must be approved by a librarian. </p>
|
|
<fieldset class="action">
|
|
<input type="submit" class="btn btn-primary" value="Submit and close this window" />
|
|
<a class="cancel close" href="#">Cancel</a>
|
|
</fieldset>
|
|
</form>
|
|
</div> <!-- / #usersendshelfform -->
|
|
</div> <!-- / .span12 -->
|
|
</div> <!-- / .row -->
|
|
</div> <!-- / .container-fluid -->
|
|
</div> <!-- / .main -->
|
|
|
|
[% INCLUDE 'opac-bottom.inc' is_popup=1 %]
|
|
[% BLOCK jsinclude %]
|
|
<script>
|
|
|
|
$(document).ready(function() {
|
|
[% IF WINDOW_CLOSE %]
|
|
opener.location.reload();
|
|
window.close();
|
|
[% END %]
|
|
});
|
|
|
|
</script>
|
|
[% END %]
|