1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Sent notices for [% INCLUDE 'patron-title.inc' %]</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
5 <script type="text/javascript" language="javascript">
7 $(document).ready(function() {
8 $("#noticestable").tablesorter({
9 [% IF ( dateformat == 'metric' ) %]
15 $(".message-title").click(function(e){
16 $(this).next(".message").toggle();
23 <style type="text/css">
24 p.message { display: none; }
25 a.message-title { font-weight: bold; display: block; }
28 <body id="pat_notices" class="pat">
29 [% INCLUDE 'header.inc' %]
30 [% INCLUDE 'patron-search.inc' %]
32 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> › Sent notices for [% INCLUDE 'patron-title.inc' %]</div>
34 <div id="doc3" class="yui-t2">
38 [% INCLUDE 'members-toolbar.inc' %]
39 <h1>Sent notices for [% INCLUDE 'patron-title.inc' %]</h1>
42 <table id="noticestable">
51 [% IF ( QUEUED_MESSAGES ) %]
53 [% FOREACH QUEUED_MESSAGE IN QUEUED_MESSAGES %]
56 <a class="message-title" href="#">[% QUEUED_MESSAGE.subject %]</a>
58 [% QUEUED_MESSAGE.content FILTER html_line_break %]
62 [% IF ( QUEUED_MESSAGE.message_transport_type == 'email' ) %]email
63 [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'print' ) %]print
64 [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'feed' ) %]feed
65 [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'sms' ) %]sms
66 [% ELSE %][% QUEUED_MESSAGE.message_transport_type %][% END %]
69 [% IF ( QUEUED_MESSAGE.status == 'sent' ) %]sent
70 [% ELSIF ( QUEUED_MESSAGE.status == 'pending' ) %]pending
71 [% ELSIF ( QUEUED_MESSAGE.status == 'failed' ) %]failed
72 [% ELSIF ( QUEUED_MESSAGE.status == 'deleted' ) %]deleted
73 [% ELSE %][% QUEUED_MESSAGE.status %][% END %]
75 <td>[% QUEUED_MESSAGE.time_queued %]</td>
80 <tr><td colspan="4">There is no record of any messages that have been sent to this patron.</td></tr>
88 [% INCLUDE 'circ-menu.inc' %]
91 [% INCLUDE 'intranet-bottom.inc' %]