Koha/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelfform.tt
Owen Leonard b291da995d
Bug 34873: Fix inconsistencies between "Sending your cart/list" headings
This patch modifies the templates for the popup windows which are shown
when you send a cart or a list via email in the staff interface.

To test, apply the patch and log into the staff interface.

- Perform a catalog search which will return results.
- Select one or more results and add them to the cart.
- Click the cart icon in the header menu to open the Cart popup.
- Click "Send". Compare this pop-up window to the version shown when
  sending a list:

- Open the Lists page and view the contents of a list.
- Click the "Send list" button in the toolbar.
- This popup should look correct and be consistent with the Cart
  version.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-09 11:41:23 -03:00

62 lines
1.8 KiB
Text

[% USE raw %]
[% PROCESS 'i18n.inc' %]
[% INCLUDE 'doc-head-open.inc' %]
<title>[% FILTER collapse %]
[% t("Sending your list") | html %] &rsaquo;
[% t("Lists") | html %] &rsaquo;
[% t("Koha") | html %]
[% END %]</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="lists_sendshelfform" class="lists">
[% INCLUDE 'blocking_errors.inc' %]
<div class="container-fluid">[% IF ( email ) %]
[% IF ( SENT ) %]
<h3>Message sent</h3>
<p>The list was sent to: [% email | html %]</p>
[% END %]
[% IF ( error ) %]
<p>Problem sending the list...</p>
[% END %]
<nav class="navbar navbar-default navbar-fixed-bottom">
<div class="container-fluid">
<fieldset class="action">
<button class="btn btn-default close_window focus">Close window</button>
</fieldset>
</div>
</nav>
[% ELSE %]
<form action="/cgi-bin/koha/virtualshelves/sendshelf.pl" method="post">
<h1>Sending your list</h1>
<fieldset class="rows">
<legend class="sr-only">Enter message details</legend>
<ol> <li>
<label for="email">Email address:</label>
<input type="text" id="email" name="email" size="43" class="focus" />
</li>
<li>
<label for="comment">Comment:</label>
<textarea id="comment" name="comment" rows="4" cols="40"></textarea>
</li>
<li>
<input type="hidden" name="shelfid" value="[% shelfid | html %]" />
</li></ol></fieldset>
<nav class="navbar navbar-default navbar-fixed-bottom">
<div class="container-fluid">
<fieldset class="action">
<input type="submit" class="btn btn-primary" value="Send" />
<button class="btn btn-default close_window">Cancel</button>
</fieldset>
</div>
</nav>
</form>
[% END %]</div>
</body>
</html>