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 [% INCLUDE 'datatables.inc' %]
7 <script type="text/javascript">
9 $(document).ready(function() {
10 $("#noticestable").dataTable($.extend(true, {}, dataTablesDefaults, {
11 "aaSorting": [[ 3, "desc" ]],
12 "aoColumns": [ null,null,null,{ "sType": "title-string" } ],
13 "sPaginationType": "four_button"
17 $(".notice-title").click(function(e){
18 $(this).next(".notice").toggle();
25 <style type="text/css">
26 p.notice { display: none; }
27 a.notice-title { font-weight: bold; display: block; }
30 <body id="pat_notices" class="pat">
31 [% INCLUDE 'header.inc' %]
32 [% INCLUDE 'patron-search.inc' %]
34 <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>
36 <div id="doc3" class="yui-t2">
40 [% INCLUDE 'members-toolbar.inc' %]
41 <h1>Sent notices for [% INCLUDE 'patron-title.inc' %]</h1>
43 [% IF ( QUEUED_MESSAGES ) %]
44 <table id="noticestable">
54 [% FOREACH QUEUED_MESSAGE IN QUEUED_MESSAGES %]
57 <a class="notice-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><span title="[% QUEUED_MESSAGE.time_queued %]">[% QUEUED_MESSAGE.time_queued | $KohaDates with_hours => 1 %]</span></td>
82 <div class="dialog message">There is no record of any messages that have been sent to this patron.</div>
89 [% INCLUDE 'circ-menu.inc' %]
92 [% INCLUDE 'intranet-bottom.inc' %]