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 9-15 Link Here
9
<title
9
<title
10
    >[% FILTER collapse %]
10
    >[% FILTER collapse %]
11
        [% IF ( total || breeding_loop ) %]
11
        [% IF ( total || breeding_loop ) %]
12
            [% t("Search results") | html %]
12
            [% tx("Search results for '{query}'", {query = query}) | html %]
13
            &rsaquo;
13
            &rsaquo;
14
        [% ELSIF ( query ) %]
14
        [% ELSIF ( query ) %]
15
            [% t("No results found") | html %]
15
            [% t("No results found") | html %]
Lines 36-42 Link Here
36
        [% END %]
36
        [% END %]
37
        [% IF ( total || breeding_loop ) %]
37
        [% IF ( total || breeding_loop ) %]
38
            [% WRAPPER breadcrumb_item bc_active= 1 %]
38
            [% WRAPPER breadcrumb_item bc_active= 1 %]
39
                <span>Search results</span>
39
                [% tx("Search results for '{query}'", {query = query}) | html %]
40
            [% END %]
40
            [% END %]
41
        [% ELSIF ( query ) %]
41
        [% ELSIF ( query ) %]
42
            [% WRAPPER breadcrumb_item bc_active= 1 %]
42
            [% WRAPPER breadcrumb_item bc_active= 1 %]
Lines 91-103 Link Here
91
    <h1>Cataloging</h1>
91
    <h1>Cataloging</h1>
92
92
93
    [% IF ( noitemsfound ) %]
93
    [% IF ( noitemsfound ) %]
94
        No results found
94
        <div class="alert alert-info"> [% tx("No catalog search results for '{query}'", {query = query}) | html %] </div>
95
        <!-- /.page-section -->
95
    [% END %]
96
    [% END %]
96
97
97
    [%# display the search results %]
98
    [%# display the search results %]
98
99
99
    [% IF ( total ) %]
100
    [% IF ( total ) %]
100
        <h2>Records found in the catalog</h2>
101
        <h2>[% tx("Catalog search results for '{query}'", {query = query}) | html %]</h2>
101
        <div class="page-section">
102
        <div class="page-section">
102
            <div>
103
            <div>
103
                [% total | html %] result(s) found in catalog,
104
                [% total | html %] result(s) found in catalog,
Lines 242-248 Link Here
242
        <!-- /.page-section -->
243
        <!-- /.page-section -->
243
    [% ELSE # IF total %]
244
    [% ELSE # IF total %]
244
        [% IF ( query ) %]
245
        [% IF ( query ) %]
245
            <h3>No results found</h3>
246
            <div class="alert alert-info"> [% tx("No catalog search results for '{query}'", {query = query}) | html %] </div>
246
            [% IF ( error ) %]
247
            [% IF ( error ) %]
247
                <div class="alert alert-warning"> Error: <span class="error">[% error | html %]</span> </div>
248
                <div class="alert alert-warning"> Error: <span class="error">[% error | html %]</span> </div>
248
            [% END %]
249
            [% END %]
Lines 251-259 Link Here
251
252
252
    [% IF ( query ) %]
253
    [% IF ( query ) %]
253
        <div id="searchresult-breeding">
254
        <div id="searchresult-breeding">
254
            <h2>Records found in the reservoir</h2>
255
            [% IF ( breeding_loop ) %]
255
            <div class="page-section">
256
                <h2>[% tx("Reservoir search results for '{query}'", {query = query}) | html %]</h2>
256
                [% IF ( breeding_loop ) %]
257
                <div class="page-section">
257
                    <table id="reservoir-table">
258
                    <table id="reservoir-table">
258
                        <thead>
259
                        <thead>
259
                            <tr>
260
                            <tr>
Lines 293-303 Link Here
293
                            [% END # /IF breeding_loo %]
294
                            [% END # /IF breeding_loo %]
294
                        </tbody>
295
                        </tbody>
295
                    </table>
296
                    </table>
296
                [% ELSE %]
297
                </div>
297
                    <h3 id="searchresult-breeding">No results found</h3>
298
                <!-- /.page-section -->
298
                [% END # /IF breeding_loop %]
299
            [% ELSE %]
299
            </div>
300
                <div class="alert alert-info" id="searchresult-breeding"> [% tx("No reservoir search results for '{query}'", {query = query}) | html %] </div>
301
            [% END # /IF breeding_loop %]
300
        </div>
302
        </div>
303
        <!-- /#searchresult-breeding -->
301
    [% END # /IF query %]
304
    [% END # /IF query %]
302
305
303
    <div id="dataPreview" class="modal" tabindex="-1" role="dialog" aria-labelledby="dataPreviewLabel" aria-hidden="true">
306
    <div id="dataPreview" class="modal" tabindex="-1" role="dialog" aria-labelledby="dataPreviewLabel" aria-hidden="true">
304
- 

Return to bug 37773