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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-7 / +6 lines)
Lines 902-908 Link Here
902
                        <p>
902
                        <p>
903
                            <span class="label">Total number of results:</span>
903
                            <span class="label">Total number of results:</span>
904
                            [% unlimited_total | html %]
904
                            [% unlimited_total | html %]
905
                            [% IF unlimited_total > limit %]
905
                            [% IF unlimited_total >= limit %]
906
                                ([% limit | html %] shown)
906
                                ([% limit | html %] shown)
907
                            [% END %].
907
                            [% END %].
908
                        </p>
908
                        </p>
Lines 1015-1026 Link Here
1015
                                <input type="hidden" name="limit" id="limit" value="20" />
1015
                                <input type="hidden" name="limit" id="limit" value="20" />
1016
                            </form> <!-- /#limitselect -->
1016
                            </form> <!-- /#limitselect -->
1017
1017
1018
                            [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) || ( unlimited_total ) > limit %]
1018
                            [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) || ( unlimited_total  >= limit ) %]
1019
                                <div id="toolbar" class="btn-toolbar">
1019
                                <div id="toolbar" class="btn-toolbar">
1020
                                    [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]
1020
                                    [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]
1021
                                        <div class="btn-group">
1021
                                        <div class="btn-group">
1022
                                            <button class="btn btn-default btn-sm dropdown-toggle" type="button" id="batch_mod_menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
1022
                                            <button class="btn btn-default btn-sm dropdown-toggle" type="button" id="batch_mod_menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
1023
                                                Batch operations with [% IF unlimited_total > limit %][% limit | html %][% ELSE %][% unlimited_total | html %][% END %] visible records
1023
                                                Batch operations with [% IF unlimited_total >= limit %][% limit | html %][% ELSE %][% unlimited_total | html %][% END %] visible records
1024
                                                <span class="caret"></span>
1024
                                                <span class="caret"></span>
1025
                                            </button>
1025
                                            </button>
1026
                                            <ul class="dropdown-menu" aria-labelledby="batch_mod_menu">
1026
                                            <ul class="dropdown-menu" aria-labelledby="batch_mod_menu">
Lines 1063-1069 Link Here
1063
                                        </div> <!-- /.dropdown -->
1063
                                        </div> <!-- /.dropdown -->
1064
                                    [% END # /IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]
1064
                                    [% END # /IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]
1065
1065
1066
                                    [% IF ( unlimited_total > limit ) %]
1066
                                    [% IF ( unlimited_total >= limit ) %]
1067
                                        <div class="btn-group">
1067
                                        <div class="btn-group">
1068
                                            <button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
1068
                                            <button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
1069
                                                [% IF ( limit ) %]
1069
                                                [% IF ( limit ) %]
Lines 1088-1096 Link Here
1088
                                                [% END %]
1088
                                                [% END %]
1089
                                            </ul>
1089
                                            </ul>
1090
                                        </div>
1090
                                        </div>
1091
                                    [% END # /IF ( unlimited_total > limit ) %]
1091
                                    [% END # /IF ( unlimited_total >= limit ) %]
1092
                                </div> <!-- /#toolbar.btn-toolbar -->
1092
                                </div> <!-- /#toolbar.btn-toolbar -->
1093
                            [% END # /IF batch operations || ( unlimited_total > limit ) %]
1093
                            [% END # /IF batch operations || ( unlimited_total >= limit ) %]
1094
1094
1095
                            <div class="pages">
1095
                            <div class="pages">
1096
                                [% pagination_bar | $raw %]
1096
                                [% pagination_bar | $raw %]
1097
- 

Return to bug 29186