2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Sent notices for [% INCLUDE 'patron-title.inc' %]</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
6 <script type="text/javascript">
8 $(document).ready(function() {
9 $("#noticestable").tablesorter({
10 [% IF ( dateformat == 'metric' ) %]
16 $(".message-title").click(function(e){
17 $(this).next(".message").toggle();
24 <style type="text/css">
25 p.message { display: none; }
26 a.message-title { font-weight: bold; display: block; }
29 <body id="pat_notices" class="pat">
30 [% INCLUDE 'header.inc' %]
31 [% INCLUDE 'patron-search.inc' %]
33 <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>
35 <div id="doc3" class="yui-t2">
39 [% INCLUDE 'members-toolbar.inc' %]
40 <h1>Sent notices for [% INCLUDE 'patron-title.inc' %]</h1>
43 <table id="noticestable">
52 [% IF ( QUEUED_MESSAGES ) %]
54 [% FOREACH QUEUED_MESSAGE IN QUEUED_MESSAGES %]
57 <a class="message-title" href="#">[% QUEUED_MESSAGE.subject %]</a>
59 [% QUEUED_MESSAGE.content FILTER html_line_break %]
63 [% IF ( QUEUED_MESSAGE.message_transport_type == 'email' ) %]email
64 [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'print' ) %]print
65 [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'feed' ) %]feed
66 [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'sms' ) %]sms
67 [% ELSE %][% QUEUED_MESSAGE.message_transport_type %][% END %]
70 [% IF ( QUEUED_MESSAGE.status == 'sent' ) %]sent
71 [% ELSIF ( QUEUED_MESSAGE.status == 'pending' ) %]pending
72 [% ELSIF ( QUEUED_MESSAGE.status == 'failed' ) %]failed
73 [% ELSIF ( QUEUED_MESSAGE.status == 'deleted' ) %]deleted
74 [% ELSE %][% QUEUED_MESSAGE.status %][% END %]
76 <td>[% QUEUED_MESSAGE.time_queued | $KohaDates with_hours => 1 %]</td>
81 <tr><td colspan="4">There is no record of any messages that have been sent to this patron.</td></tr>
89 [% INCLUDE 'circ-menu.inc' %]
92 [% INCLUDE 'intranet-bottom.inc' %]