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

Return to bug 32576