Koha/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt
Marcel de Rooy 2370695fb9 Bug 18304: [QA Follow-up] Add id to paragraph tag
See Bugzilla, comment 4.

Note: the id is unique in the Koha codebase (git grepped).

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2017-03-31 14:27:36 +00:00

60 lines
3.4 KiB
Text

[% USE Koha %]
[% INCLUDE 'doc-head-open.inc' %]
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Sending your list</title>
[% INCLUDE 'doc-head-close.inc' %]
[% BLOCK cssinclude %][% END %]
</head>
[% INCLUDE 'bodytag.inc' bodyid='sendshelf' bodyclass='popup' %]
<div class="main">
<div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<div id="usersendshelfform">
[% IF ( email ) %]
[% IF ( SENT ) %]
<h1>Message sent</h1>
<div class="alert alert-success">
<p>The list was sent to: [% email | html %]</p>
</div>
<p><a class="focus close" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelfid %]">Back to lists</a></p>
[% END %]
[% IF ( error ) %]
<div class="alert">
<p>There was an error sending the list.</p>
</div>
[% END %]
[% ELSE %]
[% IF ( invalidlist ) %]
<div class="alert">
<p>You do not have permission to send this list.</p>
</div>
<p><a class="button close" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelfid %]">Back to lists</a></p>
[% ELSE %]
<h1>Sending your list</h1>
<form action="/cgi-bin/koha/opac-sendshelf.pl" method="post" id="sendshelfform">
<fieldset>
<label for="email">Email address:</label>
<input type="text" id="email" name="email" size="43" class="focus" />
<label for="comment">Comment:</label>
<textarea id="comment" name="comment" rows="4" cols="40"></textarea>
<input type="hidden" name="shelfid" value="[% shelfid %]" />
</fieldset>
[% IF Koha.Preference('RequestOnOpac') || Koha.Preference('OpacRenewalAllowed') %]<p id="donotrequestbymail">Please do not use this mail to request or renew books.</p>[% END %]
<fieldset class="action">
<input type="submit" value="Send" class="btn" />
<a class="cancel close" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelfid %]">Cancel</a>
</fieldset>
</form>
[% END # / IF invalidlist %]
[% END # / IF email %]
</div> <!-- / #usersendshelfform -->
</div> <!-- / .span12 -->
</div> <!-- / .row-fluid -->
</div> <!-- / .container-fluid -->
</div> <!-- / .main -->
[% INCLUDE 'opac-bottom.inc' is_popup=1 %]
[% BLOCK jsinclude %][% END %]