Lines 71-79
Link Here
|
71 |
<td> |
71 |
<td> |
72 |
[% IF ( QUEUED_MESSAGE.status == 'sent' ) %]sent |
72 |
[% IF ( QUEUED_MESSAGE.status == 'sent' ) %]sent |
73 |
[% ELSIF ( QUEUED_MESSAGE.status == 'pending' ) %]pending |
73 |
[% ELSIF ( QUEUED_MESSAGE.status == 'pending' ) %]pending |
74 |
[% ELSIF ( QUEUED_MESSAGE.status == 'failed' ) %]failed <div class="notice"><a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrowernumber %]&op=resend_notice&message_id=[% QUEUED_MESSAGE.message_id %]" title="Attempt to resend the notice">Resend</a></div> |
74 |
[% ELSIF ( QUEUED_MESSAGE.status == 'failed' ) %]failed |
75 |
[% ELSIF ( QUEUED_MESSAGE.status == 'deleted' ) %]deleted |
75 |
[% ELSIF ( QUEUED_MESSAGE.status == 'deleted' ) %]deleted |
76 |
[% ELSE %][% QUEUED_MESSAGE.status %][% END %] |
76 |
[% ELSE %][% QUEUED_MESSAGE.status %][% END %] |
|
|
77 |
[% IF ( QUEUED_MESSAGE.status != 'pending' ) %] |
78 |
<div class="notice"> |
79 |
<form action="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrowernumber %]" method="POST"> |
80 |
<input type="hidden" name="op" value="resend_notice" /> |
81 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
82 |
<input type="hidden" name="message_id" value="[% QUEUED_MESSAGE.message_id %]" /> |
83 |
<a href="#" onclick="$(this).closest('form').submit();return false;" title="Attempt to resend the notice">Resend</a> |
84 |
</form> |
85 |
</div> |
86 |
[% END %] |
77 |
</td> |
87 |
</td> |
78 |
<td><span title="[% QUEUED_MESSAGE.time_queued %]">[% QUEUED_MESSAGE.time_queued | $KohaDates with_hours => 1 %]</span></td> |
88 |
<td><span title="[% QUEUED_MESSAGE.time_queued %]">[% QUEUED_MESSAGE.time_queued | $KohaDates with_hours => 1 %]</span></td> |
79 |
</tr> |
89 |
</tr> |