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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt (-45 / +36 lines)
Lines 604-614 Link Here
604
                            ILL request log
604
                            ILL request log
605
                        </a>
605
                        </a>
606
                    </div>
606
                    </div>
607
                    <div class="ill-view-panel panel panel-default">
607
                    <div class="page-section">
608
                        <div class="panel-heading">
608
                        <h3>Request details</h3>
609
                            <h3>Request details</h3>
610
                        </div>
611
                        <div class="panel-body">
612
                            <h4>Details from library</h4>
609
                            <h4>Details from library</h4>
613
                            <div class="rows">
610
                            <div class="rows">
614
                                <ol>
611
                                <ol>
Lines 689-695 Link Here
689
                                    [% END %]
686
                                    [% END %]
690
                                </ol>
687
                                </ol>
691
                            </div>
688
                            </div>
692
                        </div>
693
                    </div>
689
                    </div>
694
690
695
                    <div id="dataPreview" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="dataPreviewLabel" aria-hidden="true">
691
                    <div id="dataPreview" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="dataPreviewLabel" aria-hidden="true">
Lines 740-783 Link Here
740
                        </div>
736
                        </div>
741
                    </div>
737
                    </div>
742
738
743
                    <div class="ill-view-panel panel panel-default">
739
                    <div class="page-section">
744
                        <div class="panel-heading">
740
                        <h3>[% request.illcomments.count | html %] comments</h3>
745
                            <h3>[% request.illcomments.count | html %] comments</h3>
741
                        [% IF request.illcomments.count && request.illcomments.count > 0 %]
746
                        </div>
742
                            [% FOREACH comment IN request.illcomments %]
747
                        <div class="panel-body">
743
                                <div class="rows comment_[% comment.patron.categorycode | html %]">
748
                            [% IF request.illcomments.count && request.illcomments.count > 0 %]
744
                                <h5>Comment by:
749
                                [% FOREACH comment IN request.illcomments %]
745
                                <a href="[% borrowerlink | url %]" title="View borrower details">
750
                                    <div class="rows comment_[% comment.patron.categorycode | html %]">
746
                                [% comment.patron.firstname _ " " _ comment.patron.surname _ " [" _ comment.patron.cardnumber _ "]" | html %]</a>
751
                                    <h5>Comment by:
747
                                [% comment.timestamp | $KohaDates with_hours => 1 %]</h5>
752
                                    <a href="[% borrowerlink | url %]" title="View borrower details">
748
                                <p>[% comment.comment | html %]</p>
753
                                    [% comment.patron.firstname _ " " _ comment.patron.surname _ " [" _ comment.patron.cardnumber _ "]" | html %]</a>
754
                                    [% comment.timestamp | $KohaDates with_hours => 1 %]</h5>
755
                                    <p>[% comment.comment | html %]</p>
756
                                    </div>
757
                                [% END %]
758
                            [% END %]
759
                                <div class="rows">
760
                                    <h3><a id="toggle_addcomment" href="#">Add comment</a></h3>
761
                                    <div id="addcomment" class="content_hidden">
762
                                        <form class="validated" method="post" action="/cgi-bin/koha/ill/ill-requests.pl">
763
                                            <input type="hidden" value="save_comment" name="method">
764
                                            <input type="hidden" value="[% csrf_token | html %]" name="csrf_token">
765
                                            <input type="hidden" value="[% request.illrequest_id | html %]" name="illrequest_id">
766
                                            <fieldset class="rows">
767
                                                <ol>
768
                                                    <li>
769
                                                        <label class="required" for="comment">Comment: </label>
770
                                                        <textarea class="required" required="required" cols="80" rows="10" id="comment" name="comment"></textarea>
771
                                                        <span class="required">Required</span>
772
                                                    </li>
773
                                                </ol>
774
                                            </fieldset>
775
                                            <fieldset class="action">
776
                                                <input type="submit" class="btn btn-primary" value="Submit" />
777
                                            </fieldset>
778
                                        </form>
779
                                    </div>
780
                                </div>
749
                                </div>
750
                            [% END %]
751
                        [% END %]
752
                        <div class="rows">
753
                            <h3><a id="toggle_addcomment" href="#">Add comment</a></h3>
754
                            <div id="addcomment" class="content_hidden">
755
                                <form class="validated" method="post" action="/cgi-bin/koha/ill/ill-requests.pl">
756
                                    <input type="hidden" value="save_comment" name="method">
757
                                    <input type="hidden" value="[% csrf_token | html %]" name="csrf_token">
758
                                    <input type="hidden" value="[% request.illrequest_id | html %]" name="illrequest_id">
759
                                    <fieldset class="rows">
760
                                        <ol>
761
                                            <li>
762
                                                <label class="required" for="comment">Comment: </label>
763
                                                <textarea class="required" required="required" cols="80" rows="10" id="comment" name="comment"></textarea>
764
                                                <span class="required">Required</span>
765
                                            </li>
766
                                        </ol>
767
                                    </fieldset>
768
                                    <fieldset class="action">
769
                                        <input type="submit" class="btn btn-primary" value="Submit" />
770
                                    </fieldset>
771
                                </form>
772
                            </div>
781
                        </div>
773
                        </div>
782
                    </div>
774
                    </div>
783
775
Lines 791-797 Link Here
791
                [% ELSIF query_type == 'availability' %]
783
                [% ELSIF query_type == 'availability' %]
792
                    <!-- availability -->
784
                    <!-- availability -->
793
                    <h1>Availability</h1>
785
                    <h1>Availability</h1>
794
                    <div id="results">
786
                    <div id="results" class="page-section">
795
                        <h3>Displaying availability results</h3>
787
                        <h3>Displaying availability results</h3>
796
                        <form method="POST" action="/cgi-bin/koha/ill/ill-requests.pl">
788
                        <form method="POST" action="/cgi-bin/koha/ill/ill-requests.pl">
797
                            [% FOREACH key IN whole.keys %]
789
                            [% FOREACH key IN whole.keys %]
798
- 

Return to bug 32576