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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt (-12 / +33 lines)
Lines 2-8 Link Here
2
[% USE Koha %]
2
[% USE Koha %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Cataloging</title>
5
<title>Koha &rsaquo; Cataloging [% IF ( total || breeding_loop ) %] &rsaquo; Search results [% ELSIF ( query ) %] &rsaquo; No results found [% END %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
7
</head>
8
8
Lines 15-25 Link Here
15
        <li>
15
        <li>
16
            <a href="/cgi-bin/koha/mainpage.pl">Home</a>
16
            <a href="/cgi-bin/koha/mainpage.pl">Home</a>
17
        </li>
17
        </li>
18
        <li>
18
        [% IF ( total || breeding_loop ) %]
19
            <a href="#" aria-current="page">
19
            <li>
20
                Cataloging
20
                <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
21
            </a>
21
            </li>
22
        </li>
22
            <li>
23
                <a href="#" aria-current="page">Search results</a>
24
            </li>
25
        [% ELSIF ( query ) %]
26
            <li>
27
                <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
28
            </li>
29
            <li>
30
                <a href="#" aria-current="page">No results found</a>
31
            </li>
32
        [% ELSE %]
33
            <li>
34
                <a href="#" aria-current="page">
35
                    Cataloging
36
                </a>
37
            </li>
38
        [% END %]
23
    </ol>
39
    </ol>
24
</nav>
40
</nav>
25
41
Lines 67-73 Link Here
67
83
68
                [%# display the search results %]
84
                [%# display the search results %]
69
85
86
70
                [% IF ( total ) %]
87
                [% IF ( total ) %]
88
                    <h1>Records found in the catalog</h1>
71
                    <div>
89
                    <div>
72
                        [% total | html %] result(s) found in catalog,
90
                        [% total | html %] result(s) found in catalog,
73
                        <a href="#searchresult-breeding">[% breeding_count | html %] result(s) found in reservoir</a>
91
                        <a href="#searchresult-breeding">[% breeding_count | html %] result(s) found in reservoir</a>
Lines 160-179 Link Here
160
                            [% END # /FOREACH resultsloo %]
178
                            [% END # /FOREACH resultsloo %]
161
                        </table>
179
                        </table>
162
                        <div class="pages">[% pagination_bar | $raw %]</div>
180
                        <div class="pages">[% pagination_bar | $raw %]</div>
163
                        <hr />
164
                    </div> <!-- /.searchresults -->
181
                    </div> <!-- /.searchresults -->
165
                [% ELSE # IF total %]
182
                [% ELSE # IF total %]
166
                    [% IF ( query ) %]
183
                    [% IF ( query ) %]
167
                        [% IF ( error ) %]<div class="dialog alert">[% END %]<strong>No results found</strong>
168
                        [% IF ( error ) %]
184
                        [% IF ( error ) %]
169
                            Error: <span class="error">[% error | html %]</span></div>
185
                            <div class="dialog alert">
186
                        [% END %]
187
                            <h3>No results found</h3>
188
                        [% IF ( error ) %]
189
                                Error: <span class="error">[% error | html %]</span>
190
                            </div>
170
                        [% END %]
191
                        [% END %]
171
                    [% END %]
192
                    [% END %]
172
                [% END # /IF total %]
193
                [% END # /IF total %]
173
194
174
                [% IF ( query ) %]
195
                [% IF ( query ) %]
196
                    <hr />
175
                    <div id="searchresult-breeding">
197
                    <div id="searchresult-breeding">
176
                        <h3>Biblios in reservoir</h3>
198
                        <h2>Records found in the reservoir</h2>
177
                        [% IF ( breeding_loop ) %]
199
                        [% IF ( breeding_loop ) %]
178
                            <table>
200
                            <table>
179
                                <tr>
201
                                <tr>
Lines 212-218 Link Here
212
                                [% END # /IF breeding_loo %]
234
                                [% END # /IF breeding_loo %]
213
                            </table>
235
                            </table>
214
                        [% ELSE %]
236
                        [% ELSE %]
215
                            <p>None</p>
237
                            <h3 id="searchresult-breeding">No results found</h3>
216
                        [% END # /IF breeding_loop %]
238
                        [% END # /IF breeding_loop %]
217
                    </div>
239
                    </div>
218
                [% END # /IF query %]
240
                [% END # /IF query %]
219
- 

Return to bug 28035