X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fcataloguing%2Fmoveitem.tt;h=60d0f7ee1c92084a28ef82c2bbd2c175781b47b0;hb=ec04fcb16ac1a1d11af860ccb7f1ddbdca4ea358;hp=78b85790bd8d80dc44d93270bf8fb746c66ab8d5;hpb=6f6bfb8aff59ae10b4bf7e8d4bdcb31c5b269458;p=srvgit
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt
index 78b85790bd..60d0f7ee1c 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt
@@ -1,12 +1,34 @@
+[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
-
Attach an item to [% bibliotitle |html %]
+Koha › Cataloging › Attach an item to [% INCLUDE 'biblio-title-head.inc' %]
[% INCLUDE 'doc-head-close.inc' %]
-
+
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
-
Home › Cataloging › Attach an item to [% bibliotitle |html %][% IF ( itemsloo.subtitle ) %][% itemsloo.subtitle %][% END %]
-
+
+
+
+
+
+
[% BLOCK actions %]
[% IF ( BiblioDefaultViewmarc ) %]
@@ -21,12 +43,12 @@
[% END %]
[% BLOCK fail %]
-
-
+
+
-
[% END %]
@@ -36,33 +58,44 @@
[% IF ( errornonewitem ) %]ERROR: Unable to create the new item.
[% INCLUDE actions %]
[% INCLUDE fail %]
+
[% END %]
[% IF ( errornoitem ) %]ERROR: Unable to get the item.
[% INCLUDE actions %]
[% INCLUDE fail %]
- [% END %]
-
- [% IF ( errornoitemnumber ) %]ERROR: Unable to get the item number from this barcode.
- [% INCLUDE actions %]
- [% INCLUDE fail %]
- [% END %]
+ [% END %]
[% ELSE %]
[% IF ( success ) %]
-
The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %][% bibliotitle |html %].
+ [% IF from_biblio.items.count == 0 && CAN_user_editcatalogue_edit_catalogue %]
+