X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fmembers%2Fnotices.tt;h=33dd6e42de579fb900ee633aa26aac3aab6599a4;hb=fe03c61a92769fa994ce5d049b3f4f819819ffea;hp=445ed1753b377ccf44945c009a675016e9ea0fd6;hpb=b4e255e4d76600f2580706f71651a02a5608300e;p=koha_ffzg diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt index 445ed1753b..33dd6e42de 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt @@ -1,44 +1,34 @@ +[% USE raw %] +[% USE Asset %] +[% USE Koha %] +[% USE AuthorisedValues %] +[% USE Branches %] +[% USE KohaDates %] +[% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -Sent notices for [% INCLUDE 'patron-title.inc' %] +Sent notices for [% INCLUDE 'patron-title.inc' no_html = 1 %] [% INCLUDE 'doc-head-close.inc' %] - - - + [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search.inc' %] -
-
-
-
+
+
+
+
+ [% INCLUDE 'members-toolbar.inc' %]

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

- +[% IF ( QUEUED_MESSAGES ) %] @@ -48,44 +38,88 @@ -[% IF ( QUEUED_MESSAGES ) %] [% FOREACH QUEUED_MESSAGE IN QUEUED_MESSAGES %] - + [% END %] - [% ELSE %] - - [% END %]
Time
- [% QUEUED_MESSAGE.subject %] -

- [% QUEUED_MESSAGE.content FILTER html_line_break %] -

+ [% 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 %][% END %] + [% 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 %][% END %] + [% ELSE %][% QUEUED_MESSAGE.status | html %][% END %] + [% IF ( QUEUED_MESSAGE.status != 'pending' || QUEUED_MESSAGE.message_transport_type == 'print' ) %] +
+
+ + + +
+ +
+
+
+ [% END %]
[% QUEUED_MESSAGE.time_queued %][% QUEUED_MESSAGE.time_queued | $KohaDates with_hours => 1 %]
There is no record of any messages that have been sent to this patron.
+[% ELSE %] +
There is no record of any messages that have been sent to this patron.
+[% END %] + +
+
+ +
+ +
+
+ +[% MACRO jsinclude BLOCK %] + [% INCLUDE 'datatables.inc' %] + + [% INCLUDE 'str/members-menu.inc' %] + [% Asset.js("js/members-menu.js") | $raw %] +[% END %] -
-[% INCLUDE 'circ-menu.inc' %] -
-
[% INCLUDE 'intranet-bottom.inc' %]