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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt (-13 / +15 lines)
Lines 8-14 Link Here
8
<title
8
<title
9
    >[% FILTER collapse %]
9
    >[% FILTER collapse %]
10
        [% IF ( total || breeding_loop ) %]
10
        [% IF ( total || breeding_loop ) %]
11
            [% t("Search results") | html %]
11
            [% tx("Search results for '{query}'", {query = query}) | html %]
12
            &rsaquo;
12
            &rsaquo;
13
        [% ELSIF ( query ) %]
13
        [% ELSIF ( query ) %]
14
            [% t("No results found") | html %]
14
            [% t("No results found") | html %]
Lines 35-41 Link Here
35
        [% END %]
35
        [% END %]
36
        [% IF ( total || breeding_loop ) %]
36
        [% IF ( total || breeding_loop ) %]
37
            [% WRAPPER breadcrumb_item bc_active= 1 %]
37
            [% WRAPPER breadcrumb_item bc_active= 1 %]
38
                <span>Search results</span>
38
                [% tx("Search results for '{query}'", {query = query}) | html %]
39
            [% END %]
39
            [% END %]
40
        [% ELSIF ( query ) %]
40
        [% ELSIF ( query ) %]
41
            [% WRAPPER breadcrumb_item bc_active= 1 %]
41
            [% WRAPPER breadcrumb_item bc_active= 1 %]
Lines 90-102 Link Here
90
    <h1>Cataloging</h1>
90
    <h1>Cataloging</h1>
91
91
92
    [% IF ( noitemsfound ) %]
92
    [% IF ( noitemsfound ) %]
93
        No results found
93
        <div class="alert alert-info"> [% tx("No catalog search results for '{query}'", {query = query}) | html %] </div>
94
        <!-- /.page-section -->
94
    [% END %]
95
    [% END %]
95
96
96
    [%# display the search results %]
97
    [%# display the search results %]
97
98
98
    [% IF ( total ) %]
99
    [% IF ( total ) %]
99
        <h2>Records found in the catalog</h2>
100
        <h2>[% tx("Catalog search results for '{query}'", {query = query}) | html %]</h2>
100
        <div class="page-section">
101
        <div class="page-section">
101
            <div>
102
            <div>
102
                [% total | html %] result(s) found in catalog,
103
                [% total | html %] result(s) found in catalog,
Lines 203-209 Link Here
203
        <!-- /.page-section -->
204
        <!-- /.page-section -->
204
    [% ELSE # IF total %]
205
    [% ELSE # IF total %]
205
        [% IF ( query ) %]
206
        [% IF ( query ) %]
206
            <h3>No results found</h3>
207
            <div class="alert alert-info"> [% tx("No catalog search results for '{query}'", {query = query}) | html %] </div>
207
            [% IF ( error ) %]
208
            [% IF ( error ) %]
208
                <div class="alert alert-warning"> Error: <span class="error">[% error | html %]</span> </div>
209
                <div class="alert alert-warning"> Error: <span class="error">[% error | html %]</span> </div>
209
            [% END %]
210
            [% END %]
Lines 212-220 Link Here
212
213
213
    [% IF ( query ) %]
214
    [% IF ( query ) %]
214
        <div id="searchresult-breeding">
215
        <div id="searchresult-breeding">
215
            <h2>Records found in the reservoir</h2>
216
            [% IF ( breeding_loop ) %]
216
            <div class="page-section">
217
                <h2>[% tx("Reservoir search results for '{query}'", {query = query}) | html %]</h2>
217
                [% IF ( breeding_loop ) %]
218
                <div class="page-section">
218
                    <table id="reservoir-table">
219
                    <table id="reservoir-table">
219
                        <thead>
220
                        <thead>
220
                            <tr>
221
                            <tr>
Lines 254-264 Link Here
254
                            [% END # /IF breeding_loo %]
255
                            [% END # /IF breeding_loo %]
255
                        </tbody>
256
                        </tbody>
256
                    </table>
257
                    </table>
257
                [% ELSE %]
258
                </div>
258
                    <h3 id="searchresult-breeding">No results found</h3>
259
                <!-- /.page-section -->
259
                [% END # /IF breeding_loop %]
260
            [% ELSE %]
260
            </div>
261
                <div class="alert alert-info" id="searchresult-breeding"> [% tx("No reservoir search results for '{query}'", {query = query}) | html %] </div>
262
            [% END # /IF breeding_loop %]
261
        </div>
263
        </div>
264
        <!-- /#searchresult-breeding -->
262
    [% END # /IF query %]
265
    [% END # /IF query %]
263
266
264
    <div id="dataPreview" class="modal" tabindex="-1" role="dialog" aria-labelledby="dataPreviewLabel" aria-hidden="true">
267
    <div id="dataPreview" class="modal" tabindex="-1" role="dialog" aria-labelledby="dataPreviewLabel" aria-hidden="true">
265
- 

Return to bug 37773