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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-note.inc (-6 / +8 lines)
Lines 7-18 Link Here
7
                    <strong>[% message.message | html | html_line_break %]</strong><br>
7
                    <strong>[% message.message | html | html_line_break %]</strong><br>
8
                    &nbsp;&nbsp;&nbsp;<em>Written on [% message.message_date | $KohaDates %] by [% Branches.GetName(message.branchcode) | html %]</em>
8
                    &nbsp;&nbsp;&nbsp;<em>Written on [% message.message_date | $KohaDates %] by [% Branches.GetName(message.branchcode) | html %]</em>
9
                </li>
9
                </li>
10
                <form id="dismiss-message-form" class="d-print-none" action="/cgi-bin/koha/opac-dismiss-message.pl" method="post">
10
                [% IF sco != "true" %]
11
                    [% INCLUDE 'csrf-token.inc' %]
11
                    <form id="dismiss-message-form" class="d-print-none" action="/cgi-bin/koha/opac-dismiss-message.pl" method="post">
12
                    <input type="hidden" name="message_id" value="[% message.message_id | html %]">
12
                        [% INCLUDE 'csrf-token.inc' %]
13
                    <input type="hidden" name="op" value="cud-update" />
13
                        <input type="hidden" name="message_id" value="[% message.message_id | html %]">
14
                    <button type="submit" class="dismiss-message-button btn btn-primary"><i class="fa fa-trash" aria-hidden="true"></i> Dismiss</button>
14
                        <input type="hidden" name="op" value="cud-update" />
15
                </form>
15
                        <button type="submit" class="dismiss-message-button btn btn-primary"><i class="fa fa-trash" aria-hidden="true"></i> Dismiss</button>
16
                    </form>
17
                [% END %]
16
            [% END %]
18
            [% END %]
17
19
18
            [% IF ( opacnote ) %]<li>[% opacnote | html | html_line_break %]</li>[% END %]
20
            [% IF ( opacnote ) %]<li>[% opacnote | html | html_line_break %]</li>[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt (-2 / +1 lines)
Lines 246-252 Link Here
246
                        [% IF ( patronid ) %]
246
                        [% IF ( patronid ) %]
247
                            [% IF ( validuser ) %]
247
                            [% IF ( validuser ) %]
248
                                <div class="alert alert-info">You are logged in as [% borrowername | html %].</div>
248
                                <div class="alert alert-info">You are logged in as [% borrowername | html %].</div>
249
                                [% INCLUDE 'opac-note.inc' %]
249
                                [% INCLUDE 'opac-note.inc' sco="true" %]
250
                                [% IF patron_has_hold_fee %]
250
                                [% IF patron_has_hold_fee %]
251
                                    <div class="alert alert-warning">A hold fee was charged to your account for collecting this item.</div>
251
                                    <div class="alert alert-warning">A hold fee was charged to your account for collecting this item.</div>
252
                                [% END %]
252
                                [% END %]
253
- 

Return to bug 35869