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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (-1 / +48 lines)
Lines 2070-2081 li { Link Here
2070
        li {
2070
        li {
2071
            clear: left;
2071
            clear: left;
2072
            font-size: 90%;
2072
            font-size: 90%;
2073
            list-style: url("../img/item-bullet.gif");
2073
            list-style: url("../img/item-bullet.svg");
2074
            padding: .2em 0;
2074
            padding: .2em 0;
2075
2075
2076
            &.result_itype_image {
2077
                list-style: none;
2078
                list-style-type: none;
2079
            }
2080
2076
            img {
2081
            img {
2077
                float: left;
2082
                float: left;
2078
                margin: 3px 5px 3px -5px;
2083
                margin: 3px 5px 3px -5px;
2084
                max-width: 25px;
2079
            }
2085
            }
2080
        }
2086
        }
2081
    }
2087
    }
Lines 4471-4476 div .suggestion_note { Link Here
4471
    padding: 2px 4px;
4477
    padding: 2px 4px;
4472
}
4478
}
4473
4479
4480
.availability {
4481
    .item_count {
4482
        font-weight: bold;
4483
        padding: 2px;
4484
4485
        &::after {
4486
            content: ")";
4487
        }
4488
4489
        &::before {
4490
            content: "(";
4491
        }
4492
    }
4493
4494
    .item_counts {
4495
        font-weight: bold;
4496
        white-space: nowrap;
4497
    }
4498
4499
    .results_available_count {
4500
        font-weight: bold;
4501
        margin-bottom: .5em;
4502
    }
4503
4504
    .results_checkedout {
4505
        color: #900;
4506
        margin: .3em 0;
4507
    }
4508
4509
    .results_unavailable {
4510
        color: #555;
4511
        font-style: italic;
4512
        margin: .3em 0;
4513
    }
4514
4515
    .result_item_details {
4516
        display:inline-block;
4517
        white-space:nowrap
4518
    }
4519
}
4520
4474
@media (min-width: 200px) {
4521
@media (min-width: 200px) {
4475
4522
4476
}
4523
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-100 / +66 lines)
Lines 556-562 Link Here
556
                                            <td>
556
                                            <td>
557
                                                <div class="availability">
557
                                                <div class="availability">
558
                                                    [% IF ( SEARCH_RESULT.items_count ) %]
558
                                                    [% IF ( SEARCH_RESULT.items_count ) %]
559
                                                        <strong>
559
                                                        <div class="results_available_count">
560
                                                            [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %]
560
                                                            [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %]
561
                                                                <span class="blocker inaccurate-item-statuses" title="Item statuses may be inaccurate. Please view the record details for accurate item statuses">
561
                                                                <span class="blocker inaccurate-item-statuses" title="Item statuses may be inaccurate. Please view the record details for accurate item statuses">
562
                                                            [% END %]
562
                                                            [% END %]
Lines 566-673 Link Here
566
                                                            [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %]
566
                                                            [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %]
567
                                                                </span>
567
                                                                </span>
568
                                                            [% END %]
568
                                                            [% END %]
569
                                                        </strong>
569
                                                        </div> <!-- /.results_available_count -->
570
570
571
                                                        [% IF ( SEARCH_RESULT.availablecount ) %]
571
                                                        [% BLOCK search_result_items %]
572
                                                            <ul>
572
                                                            [% IF status_count == "onloancount" %]
573
                                                                [% FOREACH available_items_loo IN SEARCH_RESULT.available_items_loop %]
573
                                                                [% IF SEARCH_RESULT.${status_count} > 0 %]
574
                                                                    [% IF item_level_itypes && !noItemTypeImages && available_items_loo.imageurl %]
574
                                                                    <div class="results_checkedout">[% SEARCH_RESULT.${status_count} | html %] checked out:</div>
575
                                                                        <li style="list-style: none; list-style-type: none;">
576
                                                                            <img src="[% available_items_loo.imageurl | html %]" title="[% available_items_loo.description | html %]" alt="[% available_items_loo.description | html %]" />
577
                                                                    [% ELSE %]
578
                                                                        <li>
579
                                                                    [% END %]
580
                                                                    [% IF ( available_items_loo.branchname ) %]
581
                                                                        [% available_items_loo.branchname | html %]
582
                                                                    [% END %]
583
                                                                    [% IF ( available_items_loo.location ) %]
584
                                                                        <span class="shelvingloc">[% available_items_loo.location | html %]</span>
585
                                                                    [% END %]
586
                                                                    [% IF ( available_items_loo.itemcallnumber ) %]
587
                                                                        [<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% available_items_loo.itemcallnumber |uri %]%22">[% available_items_loo.itemcallnumber | html %]</a>]
588
                                                                    [% END %]
589
                                                                    ([% available_items_loo.count | html %])
590
                                                                    [% IF item_level_itypes && available_items_loo.description %]
591
                                                                        <br/>[% available_items_loo.description | html %]
592
                                                                    [% END %]
593
                                                                    </li>
594
                                                                [% END # /FOREACH available_items_loo %]
595
                                                            </ul>
596
                                                        [% END # /IF SEARCH_RESULT.availablecount %]
597
598
                                                        [% IF ( SEARCH_RESULT.onloancount ) %]
599
                                                            <span class="status">[% SEARCH_RESULT.onloancount | html %] on loan:</span>
600
                                                            <ul>
601
                                                                [% FOREACH onloan_items_loo IN SEARCH_RESULT.onloan_items_loop %]
602
                                                                    [% IF item_level_itypes && !noItemTypeImages && onloan_items_loo.imageurl %]
603
                                                                        <li style="list-style: none; list-style-type: none;">
604
                                                                            <img src="[% onloan_items_loo.imageurl | html %]" title="[% onloan_items_loo.description | html %]" alt="[% onloan_items_loo.description | html %]" />
605
                                                                    [% ELSE %]
606
                                                                        <li>
607
                                                                    [% END %]
608
                                                                    [% IF ( onloan_items_loo.branchname ) %]
609
                                                                        [% onloan_items_loo.branchname | html %]
610
                                                                    [% END %]
611
                                                                    [% IF ( onloan_items_loo.location ) %]
612
                                                                        <span class="shelvingloc">[% onloan_items_loo.location | html %]</span>
613
                                                                    [% END %]
614
                                                                    [% IF ( onloan_items_loo.itemcallnumber ) %]
615
                                                                        [<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% onloan_items_loo.itemcallnumber |uri %]%22">[% onloan_items_loo.itemcallnumber | html %]</a>]
616
                                                                    [% END %]
617
                                                                    ([% onloan_items_loo.count | html %][% IF ( onloan_items_loo.longoverdue ) %], [% onloan_items_loo.longoverdue | html %] long overdue[% END %]) date due: [% onloan_items_loo.due_date | $KohaDates %]
618
                                                                    [% IF item_level_itypes && onloan_items_loo.description %]
619
                                                                    <br/>[% onloan_items_loo.description | html %]
620
                                                                [% END %]
575
                                                                [% END %]
621
                                                                </li>
576
                                                            [% ELSIF status_count == "othercount" %]
622
                                                                [% END # /FOREACH onloan_items_loo %]
577
                                                                [% IF SEARCH_RESULT.${status_count} > 0 %]
623
                                                            </ul>
578
                                                                    <div class="results_unavailable">[% SEARCH_RESULT.${status_count} | html %] unavailable:</div>
624
                                                        [% END # IF SEARCH_RESULT.onloancount %]
579
                                                                [% END %]
580
                                                            [% END %]
581
                                                            [% IF SEARCH_RESULT.${items_loop}.size > 0 %]
582
                                                                <ul class="[% items_loop | html %]_items">
583
                                                                    [% FOREACH items_loo IN SEARCH_RESULT.${items_loop} %]
584
                                                                        [% IF item_level_itypes && !noItemTypeImages && items_loo.imageurl %]
585
                                                                            <li class="result_itype_image">
586
                                                                                <img src="[% items_loo.imageurl | html %]" title="[% items_loo.description | html %]" alt="[% items_loo.description | html %]" />
587
                                                                        [% ELSE %]
588
                                                                            <li>
589
                                                                        [% END %]
590
                                                                        [% IF ( items_loo.branchname ) %]
591
                                                                            [% items_loo.branchname | html %]
592
                                                                        [% END %]
593
                                                                        [% IF ( items_loo.location ) %]
594
                                                                            <span class="shelvingloc">[% items_loo.location | html %]</span>
595
                                                                        [% END %]
596
597
                                                                            &bull;
598
                                                                            [% IF ( items_loo.itemcallnumber ) %]
599
                                                                                <a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% items_loo.itemcallnumber |uri %]%22">[% items_loo.itemcallnumber | html %]</a>
600
                                                                            [% END %]
601
                                                                            <div class="result_item_details">
602
                                                                                [% IF ( items_loo.withdrawn ) %]
603
                                                                                    ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => items_loo.withdrawn ) | html %])
604
                                                                                [% END %]
605
                                                                                [% IF ( items_loo.itemlost ) %]
606
                                                                                    ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => items_loo.itemlost ) | html %])
607
                                                                                [% END %]
608
                                                                                [% IF ( items_loo.damaged ) %]
609
                                                                                    ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => items_loo.damaged ) | html %])
610
                                                                                [% END %]
611
                                                                                [% IF ( items_loo.intransit ) %]
612
                                                                                    (In transit)
613
                                                                                [% END %]
614
                                                                                [% IF ( items_loo.onhold ) %]
615
                                                                                    (On hold)
616
                                                                                [% END %]
617
                                                                                [% IF ( items_loo.notforloan ) %]
618
                                                                                    [% items_loo.notforloan | html %]
619
                                                                                [% END %]
620
                                                                                <span class="item_count">[% items_loo.count | html %]</span>
621
                                                                            </div> <!-- /.result_item_details -->
622
                                                                            [% IF item_level_itypes && items_loo.description %]
623
                                                                                <span class="item-itype-desc">[% items_loo.description | html %]</span>
624
                                                                            [% END %]
625
                                                                        </li>
626
                                                                    [% END # /FOREACH other_items_loo %]
627
                                                                </ul> <!-- /.[% items_loop | html %]_items -->
628
                                                            [% END # /IF SEARCH_RESULT.${items_loop}.size %]
629
                                                        [% END # /BLOCK search_result_items %]
630
631
                                                        [% PROCESS search_result_items status_count="availablecount" items_loop="available_items_loop" %]
632
633
                                                        [% PROCESS search_result_items status_count="onloancount" items_loop="onloan_items_loop" %]
634
635
                                                        [% PROCESS search_result_items status_count="othercount" items_loop="other_items_loop" %]
625
636
626
                                                        [% IF ( SEARCH_RESULT.othercount ) %]
627
                                                            <span class="unavailable">[% SEARCH_RESULT.othercount | html %] unavailable:</span>
628
                                                            <ul>
629
                                                                [% FOREACH other_items_loo IN SEARCH_RESULT.other_items_loop %]
630
                                                                    [% IF item_level_itypes && !noItemTypeImages && other_items_loo.imageurl %]
631
                                                                        <li style="list-style: none; list-style-type: none;">
632
                                                                            <img src="[% other_items_loo.imageurl | html %]" title="[% other_items_loo.description | html %]" alt="[% other_items_loo.description | html %]" />
633
                                                                    [% ELSE %]
634
                                                                        <li>
635
                                                                    [% END %]
636
                                                                    [% IF ( other_items_loo.branchname ) %]
637
                                                                        [% other_items_loo.branchname | html %]
638
                                                                    [% END %]
639
                                                                    [% IF ( other_items_loo.location ) %]
640
                                                                        <span class="shelvingloc">[% other_items_loo.location | html %]</span>
641
                                                                    [% END %]
642
                                                                    [% IF ( other_items_loo.itemcallnumber ) %]
643
                                                                        [<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% other_items_loo.itemcallnumber |uri %]%22">[% other_items_loo.itemcallnumber | html %]</a>]
644
                                                                    [% END %]
645
                                                                    [% IF ( other_items_loo.withdrawn ) %]
646
                                                                        ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => other_items_loo.withdrawn ) | html %])
647
                                                                    [% END %]
648
                                                                    [% IF ( other_items_loo.itemlost ) %]
649
                                                                        ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => other_items_loo.itemlost ) | html %])
650
                                                                    [% END %]
651
                                                                    [% IF ( other_items_loo.damaged ) %]
652
                                                                        ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => other_items_loo.damaged ) | html %])
653
                                                                    [% END %]
654
                                                                    [% IF ( other_items_loo.intransit ) %]
655
                                                                        (In transit)
656
                                                                    [% END %]
657
                                                                    [% IF ( other_items_loo.onhold ) %]
658
                                                                        (On hold)
659
                                                                    [% END %]
660
                                                                    [% IF ( other_items_loo.notforloan ) %]
661
                                                                        [% other_items_loo.notforloan | html %]
662
                                                                    [% END %]
663
                                                                    ([% other_items_loo.count | html %])
664
                                                                    [% IF item_level_itypes && other_items_loo.description %]
665
                                                                        <br/>[% other_items_loo.description | html %]
666
                                                                    [% END %]
667
                                                                    </li>
668
                                                                [% END # /FOREACH other_items_loo %]
669
                                                            </ul>
670
                                                        [% END # /IF SEARCH_RESULT.othercount %]
671
637
672
                                                    [% ELSE # /IF ( SEARCH_RESULT.items_count ) %]
638
                                                    [% ELSE # /IF ( SEARCH_RESULT.items_count ) %]
673
639
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt (-1 / +1 lines)
Lines 12-18 Link Here
12
<style>
12
<style>
13
    .sql { display: none; }
13
    .sql { display: none; }
14
    .ulined { text-decoration: underline; }
14
    .ulined { text-decoration: underline; }
15
    #holdst ul li {  list-style: outside url("[% interface | html %]/[% theme | html %]/img/item-bullet.gif") disc; }
15
    #holdst ul li {  list-style: outside url("[% interface | html %]/[% theme | html %]/img/item-bullet.svg") disc; }
16
</style>
16
</style>
17
</head>
17
</head>
18
18
(-)a/koha-tmpl/intranet-tmpl/prog/img/item-bullet.svg (-1 / +1 lines)
Line 0 Link Here
0
- 
1
<svg viewBox="0 0 1.322 2.147" height="8.116" width="4.997" xmlns="http://www.w3.org/2000/svg"><g stroke-width="4.526" fill="none" stroke="#9cc3ea" stroke-linejoin="round"><path d="M124.708 104l6.928-4 13.856 8-6.928 4z" transform="matrix(.05223 0 0 .05299 -6.396 -5.179)"/><path d="M124.708 128l13.856 8v-24l-13.856-8zM145.492 132v-24l-6.928 4v24z" transform="matrix(.05223 0 0 .05299 -6.396 -5.179)"/></g></svg>

Return to bug 28321