2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Sent notices for [% INCLUDE 'patron-title.inc' %]</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
6 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
7 [% INCLUDE 'datatables-strings.inc' %]
8 <script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
9 <script type="text/javascript">
11 $(document).ready(function() {
12 $("#noticestable").dataTable($.extend(true, {}, dataTablesDefaults, {
13 "aaSorting": [[ 3, "desc" ]],
14 "aoColumns": [ null,null,null,{ "sType": "title-string" } ],
15 "aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]],
17 "sPaginationType": "four_button"
21 $(".notice-title").click(function(e){
22 $(this).next(".notice").toggle();
29 <style type="text/css">
30 p.notice { display: none; }
31 a.notice-title { font-weight: bold; display: block; }
34 <body id="pat_notices" class="pat">
35 [% INCLUDE 'header.inc' %]
36 [% INCLUDE 'patron-search.inc' %]
38 <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>
40 <div id="doc3" class="yui-t2">
44 [% INCLUDE 'members-toolbar.inc' %]
45 <h1>Sent notices for [% INCLUDE 'patron-title.inc' %]</h1>
47 [% IF ( QUEUED_MESSAGES ) %]
48 <table id="noticestable">
58 [% FOREACH QUEUED_MESSAGE IN QUEUED_MESSAGES %]
61 <a class="notice-title" href="#">[% QUEUED_MESSAGE.subject %]</a>
63 [% QUEUED_MESSAGE.content FILTER html_line_break %]
67 [% IF ( QUEUED_MESSAGE.message_transport_type == 'email' ) %]email
68 [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'print' ) %]print
69 [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'feed' ) %]feed
70 [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'sms' ) %]sms
71 [% ELSE %][% QUEUED_MESSAGE.message_transport_type %][% END %]
74 [% IF ( QUEUED_MESSAGE.status == 'sent' ) %]sent
75 [% ELSIF ( QUEUED_MESSAGE.status == 'pending' ) %]pending
76 [% ELSIF ( QUEUED_MESSAGE.status == 'failed' ) %]failed
77 [% ELSIF ( QUEUED_MESSAGE.status == 'deleted' ) %]deleted
78 [% ELSE %][% QUEUED_MESSAGE.status %][% END %]
80 <td><span title="[% QUEUED_MESSAGE.time_queued %]">[% QUEUED_MESSAGE.time_queued | $KohaDates with_hours => 1 %]</span></td>
86 <div class="dialog message">There is no record of any messages that have been sent to this patron.</div>
93 [% INCLUDE 'circ-menu.inc' %]
96 [% INCLUDE 'intranet-bottom.inc' %]