@@ -, +, @@
- The page title and breadcrumbs menu should show "Home > Cataloging"
- Perform a search which will return results from the catalog, from the
reservoir, or both. The page title and breadcrumbs menu should show:
"Home > Cataloging > Search results."
- Perform a search which will return no results. The page
title and breadcrumbs should be: "Home > Cataloging > No results
found."
---
.../prog/en/modules/cataloguing/addbooks.tt | 44 ++++++++++++++++------
1 file changed, 33 insertions(+), 11 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt
@@ -2,7 +2,7 @@
[% USE Koha %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
-
Koha › Cataloging
+Koha › Cataloging [% IF ( total || breeding_loop ) %] › Search results [% ELSIF ( query ) %] › No results found [% END %]
[% INCLUDE 'doc-head-close.inc' %]
@@ -15,11 +15,27 @@
Home
-
-
- Cataloging
-
-
+ [% IF ( total || breeding_loop ) %]
+
+ Cataloging
+
+
+ Search results
+
+ [% ELSIF ( query ) %]
+
+ Cataloging
+
+
+ No results found
+
+ [% ELSE %]
+
+
+ Cataloging
+
+
+ [% END %]
@@ -67,7 +83,9 @@
[%# display the search results %]
+
[% IF ( total ) %]
+ Records found in the catalog
[% ELSE # IF total %]
[% IF ( query ) %]
- [% IF ( error ) %][% END %]No results found
[% IF ( error ) %]
- Error: [% error | html %]
+
+ [% END %]
+
No results found
+ [% IF ( error ) %]
+ Error: [% error | html %]
+
[% END %]
[% END %]
[% END # /IF total %]
[% IF ( query ) %]
+
-
Biblios in reservoir
+
Records found in the reservoir
[% IF ( breeding_loop ) %]
@@ -212,7 +234,7 @@
[% END # /IF breeding_loo %]
[% ELSE %]
-
None
+
No results found
[% END # /IF breeding_loop %]
[% END # /IF query %]
--