2980a5324449ea11d9d0c63c5ef68bba6c7a1f66
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / messaging.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Patrons &rsaquo; [% IF ( unknowuser ) %]Patron does not exist[% ELSE %]Patron Details for [% firstname %] [% surname %] ([% cardnumber %])[% END %]</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 </head>
5 <body>
6 [% INCLUDE 'header.inc' %]
7 [% INCLUDE 'patron-search.inc' %]
8
9 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>  &rsaquo; [% IF ( unknowuser ) %]Patron does not exist[% ELSE %]Patron Details for [% firstname %] [% surname %] ([% cardnumber %])[% END %] </div>
10
11 <div id="doc3" class="yui-t2">
12    
13    <div id="bd">
14         <div id="yui-main">
15         <div class="yui-b">
16 [% INCLUDE 'members-toolbar.inc' %]
17 [% IF ( error ) %]
18 <div class="dialog alert">
19 [% IF ( AUTH_UPDATE_FAILED ) %]
20 <h3>Userid / Password update failed</h3>
21 <strong>Insufficient privileges.</strong>
22 <p>Other fields updated.</p>
23 [% END %]
24 [% IF ( CANT_DELETE_STAFF ) %]
25 <h3>Unable to delete staff user</h3>
26 <p>Insufficient privileges.</p>
27 [% END %]
28 [% IF ( CANT_DELETE_OTHERLIBRARY ) %]
29 <h3>Unable to delete patrons from other libraries with current settings</h3>
30 <p>Insufficient privileges.</p>
31 [% END %]
32 [% IF ( CANT_DELETE ) %]
33 <h3>Unable to delete patron:</h3>
34 <p>Insufficient privileges.</p>
35 [% END %]
36 </div>
37 [% END %]
38 <div class="yui-g">
39 [% IF ( unknowuser ) %]
40    <div class="dialog message">
41          This patron does not exist.
42    </div>
43 [% ELSE %]
44
45 <table>
46   <caption>Message Queue</caption>
47   <tr><th>Type</th><th>Subject</th><th>Status</th><th>Time Prepared</th></tr>
48 [% IF ( message_queue ) %]
49   [% FOREACH message_queu IN message_queue %]
50     <tr><td>[% message_queu.message_transport_type %]</td><td>[% message_queu.subject %]</td><td>[% message_queu.status %]</td><td>[% message_queu.time_queued %]</td></tr>
51   [% END %]
52 [% ELSE %]
53   <tr><td colspan="4">There is no record of any messages that have been sent to this patron.</td></tr>
54 [% END %]
55 </table>
56
57 </div>
58
59 [% END %] <!-- unknowuser -->
60
61
62 </div>
63 </div>
64 <div class="yui-b">
65 [% INCLUDE 'circ-menu.inc' %]
66 </div>
67 </div>
68 [% INCLUDE 'intranet-bottom.inc' %]