3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Sent notices for [% INCLUDE 'patron-title.inc' %]</title>
5 [% INCLUDE 'doc-head-close.inc' %]
6 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
7 [% INCLUDE 'datatables.inc' %]
8 <script type="text/javascript">
10 $(document).ready(function() {
11 $("#noticestable").dataTable($.extend(true, {}, dataTablesDefaults, {
12 "aaSorting": [[ 3, "desc" ]],
13 "aoColumns": [ null,null,null,{ "sType": "title-string" } ],
14 "sPaginationType": "four_button"
18 $(".notice-title").click(function(e){
19 $(this).next(".notice").toggle();
26 <style type="text/css">
27 p.notice { display: none; }
28 a.notice-title { font-weight: bold; display: block; }
31 <body id="pat_notices" class="pat">
32 [% INCLUDE 'header.inc' %]
33 [% INCLUDE 'patron-search.inc' %]
35 <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>
37 <div id="doc3" class="yui-t2">
41 [% INCLUDE 'members-toolbar.inc' %]
42 <h1>Sent notices for [% INCLUDE 'patron-title.inc' %]</h1>
44 [% IF ( QUEUED_MESSAGES ) %]
45 <table id="noticestable">
55 [% FOREACH QUEUED_MESSAGE IN QUEUED_MESSAGES %]
58 <a class="notice-title" href="#">[% QUEUED_MESSAGE.subject %]</a>
60 [% QUEUED_MESSAGE.content FILTER html_line_break %]
64 [% IF ( QUEUED_MESSAGE.message_transport_type == 'email' ) %]email
65 [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'print' ) %]print
66 [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'feed' ) %]feed
67 [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'sms' ) %]sms
68 [% ELSE %][% QUEUED_MESSAGE.message_transport_type %][% END %]
71 [% IF ( QUEUED_MESSAGE.status == 'sent' ) %]sent
72 [% ELSIF ( QUEUED_MESSAGE.status == 'pending' ) %]pending
73 [% ELSIF ( QUEUED_MESSAGE.status == 'failed' ) %]failed
74 [% ELSIF ( QUEUED_MESSAGE.status == 'deleted' ) %]deleted
75 [% ELSE %][% QUEUED_MESSAGE.status %][% END %]
77 <td><span title="[% QUEUED_MESSAGE.time_queued %]">[% QUEUED_MESSAGE.time_queued | $KohaDates with_hours => 1 %]</span></td>
83 <div class="dialog message">There is no record of any messages that have been sent to this patron.</div>
90 [% INCLUDE 'circ-menu.inc' %]
93 [% INCLUDE 'intranet-bottom.inc' %]