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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-14 / +19 lines)
Lines 570-585 function verify_images() { Link Here
570
                                [% UNLESS ( item.NOTSAMEBRANCH ) %]
570
                                [% UNLESS ( item.NOTSAMEBRANCH ) %]
571
                                    to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">
571
                                    to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">
572
                                        [% IF ( item.hidepatronname ) %]
572
                                        [% IF ( item.hidepatronname ) %]
573
                                            [% item.cardnumber %]
573
                                            <span class="cardnumber">[% item.cardnumber %]</span>
574
                                        [% ELSE %]
574
                                        [% ELSE %]
575
                                            [% item.firstname %] [% item.surname %]
575
                                            <span class="firstname">[% item.firstname %]</span> <span class="surname">[% item.surname %]</span>
576
                                        [% END %]
576
                                        [% END %]
577
                                    </a>
577
                                    </a>
578
                                [% END %]
578
                                [% END %]
579
                                : due [% item.datedue %]
579
                                : due [% '<span class="date">' _ item.datedue _ '</span>' %]
580
                            </span>
580
                            </span>
581
                        [% ELSIF ( item.transfertwhen ) %]
581
                        [% ELSIF ( item.transfertwhen );
582
                            <span class="intransit">In transit from [% item.transfertfrom %] to [% item.transfertto %] since [% item.transfertwhen %]</span>
582
                            tmp_transfertfrom = '<span class="fromlib">' _ item.transfertfrom _ '</span>';
583
                            tmp_transfertto   = '<span class="tolib">'   _ item.transfertto   _ '</span>';
584
                            tmp_transfertwhen = '<span class="when">'    _ item.transfertwhen _ '</span>'; %]
585
                            <span class="intransit">In transit from [% tmp_transfertfrom %] to [% tmp_transfertto %] since [% tmp_transfertwhen %]</span>
583
                        [% END %]
586
                        [% END %]
584
587
585
                        [% IF ( item.itemlost ) %]
588
                        [% IF ( item.itemlost ) %]
Lines 611-623 function verify_images() { Link Here
611
                        [% END %]
614
                        [% END %]
612
615
613
                        [% IF ( item.itemnotforloan ) %]
616
                        [% IF ( item.itemnotforloan ) %]
614
                            Not for loan
617
                            <span class="notforloan">Not for loan
615
                            [% IF ( item.notforloanvalue ) %]
618
                            [% IF ( item.notforloanvalue ) %]
616
                                ([% item.notforloanvalue %])
619
                                <span class="reason">([% item.notforloanvalue %])</span>
617
                            [% END %]
620
                            [% END %]
621
                            </span>
618
                        [% END %]
622
                        [% END %]
619
623
620
                        [% IF ( item.reservedate ) %]
624
                        [% IF ( item.reservedate ) %]
625
                            <span class="reserved">
621
                            [% IF ( item.waitingdate ) %]
626
                            [% IF ( item.waitingdate ) %]
622
                                Waiting
627
                                Waiting
623
                            [% ELSE %]
628
                            [% ELSE %]
Lines 626-651 function verify_images() { Link Here
626
                            [% IF ( canreservefromotherbranches ) %]
631
                            [% IF ( canreservefromotherbranches ) %]
627
                                for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.ReservedForBorrowernumber %]">
632
                                for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.ReservedForBorrowernumber %]">
628
                                    [% IF ( item.hidepatronname ) %]
633
                                    [% IF ( item.hidepatronname ) %]
629
                                        [% item.Reservedcardnumber %]
634
                                        <span class="cardnumber">[% item.Reservedcardnumber %]</span>
630
                                    [% ELSE %]
635
                                    [% ELSE %]
631
                                        [% item.ReservedForFirstname %] [% item.ReservedForSurname %]
636
                                        <span class="firstname">[% item.ReservedForFirstname %]</span> <span class="surname">[% item.ReservedForSurname %]</span>
632
                                    [% END %]
637
                                    [% END %]
633
                                </a>
638
                                </a>
634
                            [% END %]
639
                            [% END %]
635
                            [% IF ( item.waitingdate ) %]
640
                            [% IF ( item.waitingdate ) %]
636
                                at[% ELSE %]for delivery at
641
                                at[% ELSE %]for delivery at
637
                            [% END %]
642
                            [% END %]
638
                            [% item.ExpectedAtLibrary %]
643
                            <span class="extpectlib">[% item.ExpectedAtLibrary %]</span>
639
                            [% IF ( item.waitingdate ) %]
644
                            [% IF ( item.waitingdate ) %]
640
                                since [% item.waitingdate | $KohaDates %]
645
                                since <span class="waitingdate">[% item.waitingdate | $KohaDates %]</span>
641
                            [% ELSE %]
646
                            [% ELSE %]
642
                                [% IF ( item.reservedate ) %]
647
                                [% IF ( item.reservedate ) %]
643
                                    (placed [% item.reservedate %])
648
                                    (placed <span class="reservedate">[% item.reservedate %])</span>
644
                                [% END %]
649
                                [% END %]
645
                            [% END %]
650
                            [% END %]
651
                            </span>
646
                        [% END %]
652
                        [% END %]
647
                        [% UNLESS ( item.itemnotforloan or item.onloan or item.itemlost or item.withdrawn or item.damaged or item.transfertwhen or item.reservedate ) %]
653
                        [% UNLESS ( item.itemnotforloan or item.onloan or item.itemlost or item.withdrawn or item.damaged or item.transfertwhen or item.reservedate ) %]
648
                            Available
654
                            <span class="available">Available</span>
649
                        [% END %]
655
                        [% END %]
650
656
651
                        [% IF ( item.restricted ) %]
657
                        [% IF ( item.restricted ) %]
652
- 

Return to bug 12093