@@ -, +, @@ --- .../prog/en/modules/members/notices.tt | 204 +++++++++--------- 1 file changed, 102 insertions(+), 102 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt @@ -15,114 +15,114 @@ -[% INCLUDE 'header.inc' %] -[% INCLUDE 'patron-search.inc' %] + [% INCLUDE 'header.inc' %] + [% INCLUDE 'patron-search.inc' %] - + -
-
-
-
+
+
+
+
-[% INCLUDE 'members-toolbar.inc' %] -

Sent notices for [% INCLUDE 'patron-title.inc' %]

+ [% INCLUDE 'members-toolbar.inc' %] +

Sent notices for [% INCLUDE 'patron-title.inc' %]

-[% IF ( QUEUED_MESSAGES ) %] - - - - - - - - - - - - - [% FOREACH QUEUED_MESSAGE IN QUEUED_MESSAGES %] - - - - - - - - - [% END %] - -
NoticeTypeStatusUpdated onTime createdDelivery note
- [% QUEUED_MESSAGE.subject | html %] -
- -
-
- [% IF ( QUEUED_MESSAGE.message_transport_type == 'email' ) %]email - [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'print' ) %]print - [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'feed' ) %]feed - [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'sms' ) %]sms - [% ELSE %][% QUEUED_MESSAGE.message_transport_type | html %][% END %] - - [% IF ( QUEUED_MESSAGE.status == 'sent' ) %]sent - [% ELSIF ( QUEUED_MESSAGE.status == 'pending' ) %]pending - [% ELSIF ( QUEUED_MESSAGE.status == 'failed' ) %]failed - [% ELSIF ( QUEUED_MESSAGE.status == 'deleted' ) %]deleted - [% ELSE %][% QUEUED_MESSAGE.status | html %][% END %] - [% IF ( QUEUED_MESSAGE.status != 'pending' ) %] -
-
- - - -
- -
-
-
- [% END %] -
[% QUEUED_MESSAGE.updated_on | $KohaDates with_hours => 1 %][% QUEUED_MESSAGE.time_queued | $KohaDates with_hours => 1 %] - [% IF ( QUEUED_MESSAGE.failure_code ) %] - [% IF ( QUEUED_MESSAGE.failure_code == "INVALID_BORNUMBER" ) %]Invalid borrowernumber [% borrowernumber | html %] - [% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_EMAIL' ) %]Unable to find an email address for this borrower - [% ELSIF (matches = QUEUED_MESSAGE.failure_code.match('INVALID_EMAIL:(\w+)') ) %]Invalid [% matches.0 | html %] email address found [% borrowernumber | html %] - [% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_FROM' ) %]Missing from email address - [% ELSIF ( QUEUED_MESSAGE.failure_code == 'MISSING_SMS' ) %]Missing SMS number - [% ELSIF ( QUEUED_MESSAGE.failure_code == 'DUPLICATE_MESSAGE' ) %]Message is duplicate - [% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_NOTES' ) %]No notes from SMS driver - [% ELSIF ( QUEUED_MESSAGE.failure_code == 'SENDMAIL' ) %]Unhandled email failure, check the logs for further details - [% ELSIF ( QUEUED_MESSAGE.failure_code == "UNKNOWN_ERROR" ) %]Unknown error - [% ELSE %]Error occurred while sending email. - [% END %] - [% END %] -
-[% ELSE %] -
There is no record of any messages that have been sent to this patron.
-[% END %] + [% IF ( QUEUED_MESSAGES ) %] + + + + + + + + + + + + + [% FOREACH QUEUED_MESSAGE IN QUEUED_MESSAGES %] + + + + + + + + + [% END %] + +
NoticeTypeStatusUpdated onTime createdDelivery note
+ [% QUEUED_MESSAGE.subject | html %] +
+ +
+
+ [% IF ( QUEUED_MESSAGE.message_transport_type == 'email' ) %]email + [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'print' ) %]print + [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'feed' ) %]feed + [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'sms' ) %]sms + [% ELSE %][% QUEUED_MESSAGE.message_transport_type | html %][% END %] + + [% IF ( QUEUED_MESSAGE.status == 'sent' ) %]sent + [% ELSIF ( QUEUED_MESSAGE.status == 'pending' ) %]pending + [% ELSIF ( QUEUED_MESSAGE.status == 'failed' ) %]failed + [% ELSIF ( QUEUED_MESSAGE.status == 'deleted' ) %]deleted + [% ELSE %][% QUEUED_MESSAGE.status | html %][% END %] + [% IF ( QUEUED_MESSAGE.status != 'pending' ) %] +
+
+ + + +
+ +
+
+
+ [% END %] +
[% QUEUED_MESSAGE.updated_on | $KohaDates with_hours => 1 %][% QUEUED_MESSAGE.time_queued | $KohaDates with_hours => 1 %] + [% IF ( QUEUED_MESSAGE.failure_code ) %] + [% IF ( QUEUED_MESSAGE.failure_code == "INVALID_BORNUMBER" ) %]Invalid borrowernumber [% borrowernumber | html %] + [% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_EMAIL' ) %]Unable to find an email address for this borrower + [% ELSIF (matches = QUEUED_MESSAGE.failure_code.match('INVALID_EMAIL:(\w+)') ) %]Invalid [% matches.0 | html %] email address found [% borrowernumber | html %] + [% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_FROM' ) %]Missing from email address + [% ELSIF ( QUEUED_MESSAGE.failure_code == 'MISSING_SMS' ) %]Missing SMS number + [% ELSIF ( QUEUED_MESSAGE.failure_code == 'DUPLICATE_MESSAGE' ) %]Message is duplicate + [% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_NOTES' ) %]No notes from SMS driver + [% ELSIF ( QUEUED_MESSAGE.failure_code == 'SENDMAIL' ) %]Unhandled email failure, check the logs for further details + [% ELSIF ( QUEUED_MESSAGE.failure_code == "UNKNOWN_ERROR" ) %]Unknown error + [% ELSE %]Error occurred while sending email. + [% END %] + [% END %] +
+ [% ELSE %] +
There is no record of any messages that have been sent to this patron.
+ [% END %] -
-
+
+
-
- -
-
+
+ +
+
[% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] --