View | Details | Raw Unified | Return to bug 30287
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt (+5 lines)
Lines 1-5 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE String %]
3
[% USE Koha %]
4
[% USE Koha %]
4
[% USE AuthorisedValues %]
5
[% USE AuthorisedValues %]
5
[% USE Branches %]
6
[% USE Branches %]
Lines 65-71 Link Here
65
                                        <tr>
66
                                        <tr>
66
                                            <td>
67
                                            <td>
67
                                                <a class="notice-title" data-noticeid="[% QUEUED_MESSAGE.message_id | html %]" href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrowernumber | uri %]&amp;noticeid=[% QUEUED_MESSAGE.message_id | uri %]">[% QUEUED_MESSAGE.subject | html %]</a>
68
                                                <a class="notice-title" data-noticeid="[% QUEUED_MESSAGE.message_id | html %]" href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrowernumber | uri %]&amp;noticeid=[% QUEUED_MESSAGE.message_id | uri %]">[% QUEUED_MESSAGE.subject | html %]</a>
69
                                                [% IF QUEUED_MESSAGE.content_type.search('html') %]
70
                                                <iframe class="notice" id="notice[% QUEUED_MESSAGE.message_id | html %]" srcdoc="[% QUEUED_MESSAGE.content | html %]"></iframe>
71
                                                [% ELSE %]
68
                                                <iframe class="notice" id="notice[% QUEUED_MESSAGE.message_id | html %]" srcdoc="[% QUEUED_MESSAGE.content | html | html_line_break %]"></iframe>
72
                                                <iframe class="notice" id="notice[% QUEUED_MESSAGE.message_id | html %]" srcdoc="[% QUEUED_MESSAGE.content | html | html_line_break %]"></iframe>
73
                                                [% END %]
69
                                            </td>
74
                                            </td>
70
                                            <td>
75
                                            <td>
71
                                                [% IF ( QUEUED_MESSAGE.message_transport_type == 'email' ) %]<span>email</span>
76
                                                [% IF ( QUEUED_MESSAGE.message_transport_type == 'email' ) %]<span>email</span>
(-)a/members/notices.pl (-2 / +1 lines)
Lines 110-116 if ( $op eq 'send_password_reset' ) { Link Here
110
}
110
}
111
111
112
# Getting the messages
112
# Getting the messages
113
my $queued_messages = C4::Letters::GetQueuedMessages({borrowernumber => $borrowernumber});
113
my $queued_messages = Koha::Notice::Messages->search({borrowernumber => $borrowernumber});
114
114
115
$template->param(
115
$template->param(
116
    patron             => $patron,
116
    patron             => $patron,
117
- 

Return to bug 30287