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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-37 / +28 lines)
Lines 35-51 Link Here
35
        [% END %]
35
        [% END %]
36
    </div>
36
    </div>
37
37
38
    [% IF ( $borrowers ) %]
38
    <div class="main container-fluid">
39
        <div id="doc" class="yui-t7">
39
                <main>
40
            <div id="bd">
40
                    <div class="row">
41
                <div id="yui-main">
41
                        <div class="col-sm-10 col-sm-push-2">
42
                    <div class="yui-g">
43
    [% ELSE %]
44
        <div id="doc3" class="yui-t2">
45
            <div id="bd">
46
                <div id="yui-main">
47
                    <div class="yui-b">
48
    [% END %]
49
42
50
                    [% IF patron %]
43
                    [% IF patron %]
51
                        [% INCLUDE 'members-toolbar.inc' %]
44
                        [% INCLUDE 'members-toolbar.inc' %]
Lines 87-93 Link Here
87
                    [% END %]
80
                    [% END %]
88
81
89
                    [% IF ( NEEDSCONFIRMATION ) %]
82
                    [% IF ( NEEDSCONFIRMATION ) %]
90
                        <div class="yui-g">
91
                            <div id="circ_needsconfirmation" class="dialog alert audio-alert-action">
83
                            <div id="circ_needsconfirmation" class="dialog alert audio-alert-action">
92
                                [% IF CAN_user_circulate_force_checkout %]
84
                                [% IF CAN_user_circulate_force_checkout %]
93
                                    <h3>Please confirm checkout</h3>
85
                                    <h3>Please confirm checkout</h3>
Lines 307-317 Link Here
307
                                    [% END %]
299
                                    [% END %]
308
                                [% END %]
300
                                [% END %]
309
                            </div> <!-- /#circ_needsconfirmation -->
301
                            </div> <!-- /#circ_needsconfirmation -->
310
                        </div> <!-- /.yui-g -->
311
                    [% END # /NEEDSCONFIRMATION %]
302
                    [% END # /NEEDSCONFIRMATION %]
312
303
313
                    [% IF ( IMPOSSIBLE ) %]
304
                    [% IF ( IMPOSSIBLE ) %]
314
                        <div class="yui-g">
315
                            <div id="circ_impossible" class="dialog alert audio-alert-warning">
305
                            <div id="circ_impossible" class="dialog alert audio-alert-warning">
316
                                [% IF ( UNKNOWN_BARCODE ) %]
306
                                [% IF ( UNKNOWN_BARCODE ) %]
317
                                    <h3>Barcode not found</h3>
307
                                    <h3>Barcode not found</h3>
Lines 428-434 Link Here
428
                                    [% END %]
418
                                    [% END %]
429
                                </ul>
419
                                </ul>
430
                            </div> <!-- /#circ_impossible -->
420
                            </div> <!-- /#circ_impossible -->
431
                        </div> <!-- /.yui-g -->
432
421
433
                        [% IF ( FALLBACK ) %]
422
                        [% IF ( FALLBACK ) %]
434
                            [% IF options %]
423
                            [% IF options %]
Lines 505-511 Link Here
505
                        <!-- BARCODE ENTRY -->
494
                        <!-- BARCODE ENTRY -->
506
495
507
                        [% IF patron %]
496
                        [% IF patron %]
508
                            <div class="yui-g">
509
497
510
                                [% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %]
498
                                [% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %]
511
                                    <div class="dialog alert">
499
                                    <div class="dialog alert">
Lines 513-520 Link Here
513
                                    </div>
501
                                    </div>
514
                                [% END %]
502
                                [% END %]
515
503
504
                                <div class="row">
516
                                [% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%]
505
                                [% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%]
517
                                    <div class="yui-u first">
506
                                        <div class="col-sm-6">
518
                                        <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
507
                                        <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
519
                                            <input type="hidden" name="restoreduedatespec" />
508
                                            <input type="hidden" name="restoreduedatespec" />
520
                                            [% IF ( issue ) %]
509
                                            [% IF ( issue ) %]
Lines 633-650 Link Here
633
                                                </div>
622
                                                </div>
634
                                            [% END %]
623
                                            [% END %]
635
                                        </form> <!-- /#mainform -->
624
                                        </form> <!-- /#mainform -->
636
                                    </div> <!-- /yui-u.first -->
625
                                        </div> <!-- /.col-sm-6 -->
637
626
638
                                [% END #/IF !noissues %]
627
                                [% END #/IF !noissues %]
639
628
640
                                [% IF ( noissues ) %]
629
                                [% IF ( noissues ) %]
641
                                    [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %]
630
                                    [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %]
642
                                        <div class="yui-u">
631
                                        <div class="col-sm-6">
643
                                    [% ELSE %]
632
                                    [% ELSE %]
644
                                        <div>
633
                                        <div>
645
                                    [% END %]
634
                                    [% END %]
646
                                [% ELSE %]
635
                                [% ELSE %]
647
                                    <div class="yui-u">
636
                                    <div class="col-sm-6">
648
                                [% END %]
637
                                [% END %]
649
638
650
                                [% IF ( noissues ) %]
639
                                [% IF ( noissues ) %]
Lines 764-770 Link Here
764
                                    [% END %]
753
                                    [% END %]
765
754
766
                                </ul>
755
                                </ul>
767
                            </div> <!-- /.yui-g -->
768
756
769
                            [% IF WaitingHolds.count %]
757
                            [% IF WaitingHolds.count %]
770
                                <div id="holdswaiting" class="circmessage">
758
                                <div id="holdswaiting" class="circmessage">
Lines 821-831 Link Here
821
                                </ul>
809
                                </ul>
822
                                <a id="addnewmessageLabel" href="#add_message_form" class="btn btn-link" data-toggle="modal"><i class="fa fa-plus"></i> Add a new message</a>
810
                                <a id="addnewmessageLabel" href="#add_message_form" class="btn btn-link" data-toggle="modal"><i class="fa fa-plus"></i> Add a new message</a>
823
                            </div> <!-- /.messages -->
811
                            </div> <!-- /.messages -->
812
                            </div> <!-- /#circmessages -->
813
                        </div> <!-- /div or div.col-sm-6 -->
814
                    </div> <!-- /.row -->
824
815
825
                        </div> <!-- /div or div.yui-u -->
826
                    </div> <!-- /.yui-g -->
827
828
                    <div class="yui-g">
829
                        <div id="patronlists" class="toptabs">
816
                        <div id="patronlists" class="toptabs">
830
                            <ul>
817
                            <ul>
831
                                <li>
818
                                <li>
Lines 963-996 Link Here
963
                                [% INCLUDE 'patron-article-requests.inc' %]
950
                                [% INCLUDE 'patron-article-requests.inc' %]
964
                            [% END %]
951
                            [% END %]
965
952
953
                    </div> <!-- /#patronlists -->
966
                    [% ELSIF borrowernumber # IF patron %]
954
                    [% ELSIF borrowernumber # IF patron %]
967
                        <div class="dialog message">Patron not found. <a href="/cgi-bin/koha/members/members-home.pl">Return to search</a></div>
955
                        <div class="dialog message">Patron not found. <a href="/cgi-bin/koha/members/members-home.pl">Return to search</a></div>
968
                    [% END # /IF patron %]
956
                    [% END # /IF patron %]
969
957
970
                    </div> <!-- /#patronlists -->
958
            [% END #/IF borrowers %]
971
                </div> <!-- /.yui-g -->
959
972
            [% END %]
960
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
973
961
974
            [% IF Koha.Preference('CircSidebar') %]
962
            [% IF Koha.Preference('CircSidebar') %]
975
                [% UNLESS ( borrowers ) %]
963
                [% UNLESS ( borrowers ) %]
976
                    [% IF not( borrowernumber and patron ) %]
964
                    [% IF not( borrowernumber and patron ) %]
977
                        <div class="yui-b noprint">
965
                    <div class="col-sm-2 col-sm-pull-10">
966
                        <aside>
978
                            [% INCLUDE 'circ-nav.inc' %]
967
                            [% INCLUDE 'circ-nav.inc' %]
979
                        </div>
968
                        </aside>
980
                    [% END %]
969
                    </div> <!-- /.col-sm-2.col-sm-pull-10 -->
981
                [% END %]
970
                [% END %]
982
            [% END %]
971
            [% END %]
983
        </div> <!-- /.yui-b -->
972
        [% END %]
984
    </div> <!-- /.yui-main -->
985
973
986
    [% UNLESS ( borrowers ) %]
974
    [% UNLESS ( borrowers ) %]
987
        [% IF borrowernumber and patron %]
975
        [% IF borrowernumber and patron %]
988
            <div class="yui-b">
976
                <div class="col-sm-2 col-sm-pull-10">
977
                    <aside>
989
                [% INCLUDE 'circ-menu.inc' %]
978
                [% INCLUDE 'circ-menu.inc' %]
990
            </div>
979
                    </aside>
980
                </div> <!-- /.col-sm-2 col-sm-pull-10 -->
991
        [% END %]
981
        [% END %]
992
    [% END %]
982
    [% END %]
993
</div> <!-- /#bd -->
983
984
    </div> <!-- /.row -->
985
</main>
994
986
995
<!-- Modal -->
987
<!-- Modal -->
996
<div id="barcodeSubmittedModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="barcodeSubmittedModalLabel" aria-hidden="true">
988
<div id="barcodeSubmittedModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="barcodeSubmittedModalLabel" aria-hidden="true">
997
- 

Return to bug 22999