<img src="[% ctx.media_prefix %]/images/[% attrs.format_icon %]" alt="[% attrs.format %]" title="[% attrs.title | html %]" />
</p>[% END %]
<p>
- <strong>[% l('Status') %]</strong>: [% hold.human_status | html %]
+ <strong>[% l('Status') %]</strong>: [% hold.human_status %]
</p>
<form method="POST">
<table id="hold_editor_table">
<div>
[%
IF hold.hold.status == 4;
- l("Available");
+ l("Available") | html;
IF ahr.shelf_expire_time;
- l('<br/>Expires [_1]',
- date.format(ctx.parse_datetime(ahr.shelf_expire_time), DATE_FORMAT));
+ '<br/>';
+ l('Expires [_1]',
+ date.format(ctx.parse_datetime(ahr.shelf_expire_time), DATE_FORMAT)) | html;
END;
ELSIF hold.hold.estimated_wait AND hold.hold.estimated_wait > 0;
# estimated wait is delivered as seconds.
SET hwait = POSIX.ceil(hold.hold.estimated_wait / 86400);
- l("Estimated wait: [quant,_1,day,days]", hwait);
+ l("Estimated wait: [quant,_1,day,days]", hwait) | html;
ELSIF hold.hold.status == 3;
- l("In Transit");
+ l("In Transit") | html;
ELSIF hold.hold.status < 3;
- l("Waiting for copy");
+ l("Waiting for copy") | html;
END
%]
- <div>
+ </div>
<div>
[% l('[_1] hold on [quant,_2,circulating copy,circulating copies]',
- hold.hold.queue_position, hold.hold.potential_copies) %]
+ hold.hold.queue_position, hold.hold.potential_copies) | html %]
</div>
[% END %]