[% IF ( total ) %]
Records found in the catalog
[% pagination_bar | $raw %]
-
+
|
@@ -202,7 +201,6 @@
[% END %]
[% END %]
[% END # /IF total %]
-
[% IF ( query ) %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt
index e9a512c60e..6d3450fc0b 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt
@@ -74,74 +74,74 @@
[% IF items %]
[% SET date_fields = [ 'dateaccessioned', 'onloan', 'datelastseen', 'datelastborrowed', 'replacementpricedate' ] %]
-
-
-
-
- |
- [% FOREACH item_header IN item_header_loop %]
-
- [% item_header.header_value | html %]
- |
- [% END %]
-
-
-
- [% FOREACH item IN items %]
- [% SET can_be_edited = ! ( Koha.Preference('IndependentBranches') && ! logged_in_user.is_superlibrarian && item.homebranch != Branches.GetLoggedInBranchname() ) %]
- [% IF item.itemnumber == itemnumber%]
- [% UNLESS can_be_edited %]
-
+
+
+
+
+ |
+ [% FOREACH item_header IN item_header_loop %]
+
+ [% item_header.header_value | html %]
+ |
+ [% END %]
+
+
+
+ [% FOREACH item IN items %]
+ [% SET can_be_edited = ! ( Koha.Preference('IndependentBranches') && ! logged_in_user.is_superlibrarian && item.homebranch != Branches.GetLoggedInBranchname() ) %]
+ [% IF item.itemnumber == itemnumber%]
+ [% UNLESS can_be_edited %]
+
+ [% ELSE %]
+
+ [% END %]
[% ELSE %]
-
+ [% UNLESS can_be_edited %]
+
+ [% ELSE %]
+
+ [% END %]
[% END %]
- [% ELSE %]
[% UNLESS can_be_edited %]
-
+ |
[% ELSE %]
-
- [% END %]
- [% END %]
- [% UNLESS can_be_edited %]
- |
- [% ELSE %]
-
-
- |
[% END %]
- [% FOREACH header IN item_header_loop %]
- [% SET attribute = header.attribute %]
- [% IF header.attribute AND date_fields.grep('^' _ attribute _ '$').size %]
- [% item.$attribute | $KohaDates %] |
- [% ELSIF ( item.$attribute && ( attribute == 'price' || attribute == 'replacementprice' ) ) %]
- [% item.$attribute | $Price %] |
- [% ELSE %]
- [% item.$attribute | html %] |
+
[% END %]
- [% END %]
-
- [% END %]
-
-
-
+
+
+
[% END %]
@@ -150,7 +150,7 @@