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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (-4 / +15 lines)
Lines 1770-1776 i { Link Here
1770
1770
1771
// style for shelving location in catalogsearch
1771
// style for shelving location in catalogsearch
1772
.shelvingloc {
1772
.shelvingloc {
1773
    display: block;
1774
    font-style: italic;
1773
    font-style: italic;
1775
}
1774
}
1776
1775
Lines 4247-4260 div .suggestion_note { Link Here
4247
        }
4246
        }
4248
    }
4247
    }
4249
4248
4249
    h4 {
4250
        margin-bottom: 0;
4251
    }
4252
4253
    table td {
4254
        width: calc(100%/4);
4255
    }
4256
4250
    .item_counts {
4257
    .item_counts {
4251
        font-weight: bold;
4258
        font-weight: bold;
4252
        white-space: nowrap;
4259
        white-space: nowrap;
4253
    }
4260
    }
4254
4261
4255
    .results_available_count {
4262
    .results_available_count {
4263
        float: right;
4256
        font-weight: bold;
4264
        font-weight: bold;
4257
        margin-bottom: .5em;
4258
    }
4265
    }
4259
4266
4260
    .results_checkedout {
4267
    .results_checkedout {
Lines 4262-4270 div .suggestion_note { Link Here
4262
        margin: .3em 0;
4269
        margin: .3em 0;
4263
    }
4270
    }
4264
4271
4272
    .results_available {
4273
        color: #060;
4274
        margin: .3em 0;
4275
    }
4276
4265
    .results_unavailable {
4277
    .results_unavailable {
4266
        color: #555;
4278
        color: #900;
4267
        font-style: italic;
4268
        margin: .3em 0;
4279
        margin: .3em 0;
4269
    }
4280
    }
4270
4281
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-34 / +33 lines)
Lines 594-669 Link Here
594
                                                                <span class="blocker inaccurate-item-statuses" title="Item statuses may be inaccurate. Please view the record details for accurate item statuses">
594
                                                                <span class="blocker inaccurate-item-statuses" title="Item statuses may be inaccurate. Please view the record details for accurate item statuses">
595
                                                            [% END %]
595
                                                            [% END %]
596
596
597
                                                            [% tnx('{count} item', '{count} items', SEARCH_RESULT.items_count, {count = SEARCH_RESULT.items_count}) | html %][% IF ( SEARCH_RESULT.availablecount ) %], [% SEARCH_RESULT.availablecount | html %] <span>available:</span>[% ELSE %], <span>None available</span>[% END %]
597
                                                            [% tnx('{count} item', '{count} items', SEARCH_RESULT.items_count, {count = SEARCH_RESULT.items_count}) | html %]
598
598
599
                                                            [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %]
599
                                                            [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %]
600
                                                                </span>
600
                                                                </span>
601
                                                            [% END %]
601
                                                            [% END %]
602
                                                        </div> <!-- /.results_available_count -->
602
                                                        </div> <!-- /.results_available_count -->
603
603
604
                                                        [% IF SEARCH_RESULT.availablecount %]
605
                                                            <h4 class="results_available">[% SEARCH_RESULT.availablecount | html %] Available</h4>
606
                                                        [% END %]
604
                                                        [% BLOCK search_result_items %]
607
                                                        [% BLOCK search_result_items %]
605
                                                            [% IF status_count == "onloancount" %]
608
                                                            [% IF status_count == "onloancount" %]
606
                                                                [% IF SEARCH_RESULT.${status_count} > 0 %]
609
                                                                [% IF SEARCH_RESULT.${status_count} > 0 %]
607
                                                                    <div class="results_checkedout">[% SEARCH_RESULT.${status_count} | html %] checked out:</div>
610
                                                                    <h4 class="results_checkedout">[% SEARCH_RESULT.${status_count} | html %] Checked out</h4>
608
                                                                [% END %]
611
                                                                [% END %]
609
                                                            [% ELSIF status_count == "othercount" %]
612
                                                            [% ELSIF status_count == "othercount" %]
610
                                                                [% IF SEARCH_RESULT.${status_count} > 0 %]
613
                                                                [% IF SEARCH_RESULT.${status_count} > 0 %]
611
                                                                    <div class="results_unavailable">[% SEARCH_RESULT.${status_count} | html %] unavailable:</div>
614
                                                                    <h4 class="results_unavailable">[% SEARCH_RESULT.${status_count} | html %] Unavailable</h4>
612
                                                                [% END %]
615
                                                                [% END %]
613
                                                            [% END %]
616
                                                            [% END %]
614
                                                            [% IF SEARCH_RESULT.${items_loop}.size > 0 %]
617
                                                            [% IF SEARCH_RESULT.${items_loop}.size > 0 %]
615
                                                                <ul class="[% items_loop | html %]_items">
618
                                                                <table class="table table-sm [% items_loop | html %]_items">
616
                                                                    [% FOREACH items_loo IN SEARCH_RESULT.${items_loop} %]
619
                                                                    [% FOREACH items_loo IN SEARCH_RESULT.${items_loop} %]
617
                                                                        [% IF item_level_itypes && !noItemTypeImages && items_loo.imageurl %]
620
                                                                        <tr class="[% IF items_loo.branchname %][% items_loo.branchname | html %][% END %]">
618
                                                                            <li class="result_itype_image">
621
                                                                        <td class="branchname">
619
                                                                                <img src="[% items_loo.imageurl | html %]" title="[% items_loo.description | html %]" alt="[% items_loo.description | html %]" />
622
                                                                            [% IF ( items_loo.branchname ) %][% items_loo.branchname | html %][% END %]
620
                                                                        [% ELSE %]
623
                                                                        </td>
621
                                                                            <li>
624
                                                                        <td class="shelvingloc">
622
                                                                        [% END %]
625
                                                                            [% IF ( items_loo.location ) %][% items_loo.location | html %][% END %]
623
                                                                        [% IF ( items_loo.branchname ) %]
624
                                                                            [% items_loo.branchname | html %]
625
                                                                        [% END %]
626
                                                                        [% IF ( items_loo.location ) %]
627
                                                                            <span class="shelvingloc">[% items_loo.location | html %]</span>
628
                                                                        [% END %]
629
630
                                                                            [% IF ( items_loo.itemcallnumber ) %]
626
                                                                            [% IF ( items_loo.itemcallnumber ) %]
631
                                                                                <a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% items_loo.itemcallnumber |uri %]%22">[% items_loo.itemcallnumber | html %]</a>
627
                                                                                <div>
628
                                                                                    <a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% items_loo.itemcallnumber |uri %]%22">[% items_loo.itemcallnumber | html %]</a>
629
                                                                                </div>
632
                                                                            [% END %]
630
                                                                            [% END %]
633
                                                                            <div class="result_item_details">
631
                                                                        </td>
632
                                                                            <td>
634
                                                                                [% IF ( items_loo.withdrawn ) %]
633
                                                                                [% IF ( items_loo.withdrawn ) %]
635
                                                                                    ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => items_loo.withdrawn ) | html %])
634
                                                                                    [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => items_loo.withdrawn ) | html %]
636
                                                                                [% END %]
635
                                                                                [% END %]
637
                                                                                [% IF ( items_loo.itemlost ) %]
636
                                                                                [% IF ( items_loo.itemlost ) %]
638
                                                                                    ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => items_loo.itemlost ) | html %])
637
                                                                                    [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => items_loo.itemlost ) | html %]
639
                                                                                [% END %]
638
                                                                                [% END %]
640
                                                                                [% IF ( items_loo.damaged ) %]
639
                                                                                [% IF ( items_loo.damaged ) %]
641
                                                                                    ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => items_loo.damaged ) | html %])
640
                                                                                    [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => items_loo.damaged ) | html %]
642
                                                                                [% END %]
641
                                                                                [% END %]
643
                                                                                [% IF ( items_loo.intransit ) %]
642
                                                                                [% IF ( items_loo.intransit ) %]
644
                                                                                    (<span>In transit</span>)
643
                                                                                    <span>In transit</span>
645
                                                                                [% END %]
644
                                                                                [% END %]
646
                                                                                [% IF ( items_loo.onhold ) %]
645
                                                                                [% IF ( items_loo.onhold ) %]
647
                                                                                    (<span>On hold</span>)
646
                                                                                    <span>On hold</span>
648
                                                                                [% END %]
647
                                                                                [% END %]
649
                                                                                [% IF ( items_loo.notforloan ) %]
648
                                                                                [% IF ( items_loo.notforloan ) %]
650
                                                                                    [% items_loo.notforloan | html %]
649
                                                                                    [% items_loo.notforloan | html %]
651
                                                                                [% END %]
650
                                                                                [% END %]
651
                                                                                [% IF status_count == "onloancount" %]
652
                                                                                        Due: [% items_loo.due_date | $KohaDates %]
653
                                                                                [% END %]
654
                                                                                [% IF ( !items_loo.withdrawn && !items_loo.itemlost && !items_loo.damaged && !items_loo.intransit && !items_loo.onhold && !items_loo.notforloan && status_count != 'onloancount')  %]
655
                                                                                    Available
656
                                                                                [% END %]
652
                                                                                <span class="item_count">[% items_loo.count | html %]</span>
657
                                                                                <span class="item_count">[% items_loo.count | html %]</span>
653
                                                                            </div> <!-- /.result_item_details -->
658
                                                                            </td> <!-- /.result_item_details -->
654
659
655
                                                                            [% IF status_count == "onloancount" %]
656
                                                                                <span class="item-date-due">
657
                                                                                    Due: [% items_loo.due_date | $KohaDates %]
658
                                                                                </span>
659
                                                                            [% END %]
660
660
661
                                                                            [% IF item_level_itypes && items_loo.description %]
661
                                                                            [% IF item_level_itypes && items_loo.description %]
662
                                                                                <span class="item-itype-desc itypetext">[% items_loo.description | html %]</span>
662
                                                                                <td class="item-itype-desc itypetext">[% items_loo.description | html %]</td>
663
                                                                            [% END %]
663
                                                                            [% END %]
664
                                                                        </li>
664
                                                                        </tr>
665
                                                                    [% END # /FOREACH other_items_loo %]
665
                                                                    [% END # /FOREACH other_items_loo %]
666
                                                                </ul> <!-- /.[% items_loop | html %]_items -->
666
                                                                </table> <!-- /.[% items_loop | html %]_items -->
667
                                                            [% END # /IF SEARCH_RESULT.${items_loop}.size %]
667
                                                            [% END # /IF SEARCH_RESULT.${items_loop}.size %]
668
                                                        [% END # /BLOCK search_result_items %]
668
                                                        [% END # /BLOCK search_result_items %]
669
669
670
- 

Return to bug 33561