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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt (-6 / +5 lines)
Lines 631-644 Link Here
631
631
632
                    <div id="ill-view-panel" class="panel panel-default">
632
                    <div id="ill-view-panel" class="panel panel-default">
633
                        <div class="panel-heading">
633
                        <div class="panel-heading">
634
                            <h3>[% request.illcomments.count %] comments</h3>
634
                            <h3>[% request.illcomments.count | html %] comments</h3>
635
                        </div>
635
                        </div>
636
                        <div class="panel-body">
636
                        <div class="panel-body">
637
                            [% IF request.illcomments.count && request.illcomments.count > 0 %]
637
                            [% IF request.illcomments.count && request.illcomments.count > 0 %]
638
                                [% FOREACH comment IN request.illcomments %]
638
                                [% FOREACH comment IN request.illcomments %]
639
                                    <div class="rows comment_[% comment.patron.categorycode %]">
639
                                    <div class="rows comment_[% comment.patron.categorycode | html %]">
640
                                    <h5>Comment by:
640
                                    <h5>Comment by:
641
                                    <a href="[% borrowerlink %]" title="View borrower details">
641
                                    <a href="[% borrowerlink | html %]" title="View borrower details">
642
                                    [% comment.patron.firstname _ " " _ comment.patron.surname _ " [" _ comment.patron.cardnumber _ "]" | html %]</a>
642
                                    [% comment.patron.firstname _ " " _ comment.patron.surname _ " [" _ comment.patron.cardnumber _ "]" | html %]</a>
643
                                    [% comment.timestamp | $KohaDates with_hours => 1 %]</h5>
643
                                    [% comment.timestamp | $KohaDates with_hours => 1 %]</h5>
644
                                    <p>[% comment.comment | html %]</p>
644
                                    <p>[% comment.comment | html %]</p>
Lines 650-657 Link Here
650
                                    <div id="addcomment" class="content_hidden">
650
                                    <div id="addcomment" class="content_hidden">
651
                                        <form class="validated" method="post" action="/cgi-bin/koha/ill/ill-requests.pl">
651
                                        <form class="validated" method="post" action="/cgi-bin/koha/ill/ill-requests.pl">
652
                                            <input type="hidden" value="save_comment" name="method">
652
                                            <input type="hidden" value="save_comment" name="method">
653
                                            <input type="hidden" value="[% csrf_token %]" name="csrf_token">
653
                                            <input type="hidden" value="[% csrf_token | html %]" name="csrf_token">
654
                                            <input type="hidden" value="[% request.illrequest_id %]" name="illrequest_id">
654
                                            <input type="hidden" value="[% request.illrequest_id | html %]" name="illrequest_id">
655
                                            <fieldset class="rows">
655
                                            <fieldset class="rows">
656
                                                <ol>
656
                                                <ol>
657
                                                    <li>
657
                                                    <li>
658
- 

Return to bug 18591