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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt (-29 / +54 lines)
Lines 5-50 Link Here
5
<body>
5
<body>
6
[% INCLUDE 'header.inc' %]
6
[% INCLUDE 'header.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
8
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloging/addbooks.pl">Cataloging</a>  &rsaquo; Attach an item to <i>[% bibliotitle |html %]</i></div>
8
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloging/addbooks.pl">Cataloging</a>  &rsaquo; Attach an item to <i>[% bibliotitle |html %][% IF ( itemsloo.subtitle ) %][% itemsloo.subtitle %][% END %]</i></div>
9
<div id="doc" class="yui-t7">
9
<div id="doc" class="yui-t7">
10
10
11
[% BLOCK actions %]
12
                        [% IF ( BiblioDefaultViewmarc ) %]
13
                             <form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
14
                        [% ELSIF ( BiblioDefaultViewlabeled_marc ) %]
15
                             <form action="/cgi-bin/koha/catalogue/labeledMARCdetail.pl" method="post">
16
                        [% ELSIF ( BiblioDefaultViewisbd ) %]
17
                             <form action="/cgi-bin/koha/catalogue/ISBDdetail.pl" method="post">
18
                        [% ELSE %]
19
                             <form action="/cgi-bin/koha/catalogue/detail.pl" method="post">
20
                        [% END %]
21
[% END %]
22
23
[% BLOCK fail %]
24
                                <input type="submit" class="approve" value="OK" />
25
                                <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
26
                        </form>
27
                                <form method="get" action="/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]">
28
                                <input type="submit" class="new" value="Try again with a different barcode"/>
29
                                <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
30
                        </form>
31
[% END %]
32
11
[% IF ( error ) %]
33
[% IF ( error ) %]
12
    <div class="dialog alert">
34
    <div class="dialog alert">
13
	[% IF ( errornonewitem ) %]ERROR: Unable to create the new item.[% END %]
35
14
	[% IF ( errornoitem ) %]ERROR: Unable to get the item.[% END %]
36
		[% IF ( errornonewitem ) %]ERROR: Unable to create the new item.<p>
15
	[% IF ( errornoitemnumber ) %]ERROR: Unable to get the item number from this barcode.[% END %]
37
			[% INCLUDE actions %]
38
			[% INCLUDE fail %]
39
		[% END %]
40
41
		[% IF ( errornoitem ) %]ERROR: Unable to get the item.<p>
42
			[% INCLUDE actions %]
43
			[% INCLUDE fail %]
44
		[% END %]
45
46
		[% IF ( errornoitemnumber ) %]ERROR: Unable to get the item number from this barcode.<p>
47
			[% INCLUDE actions %]
48
			[% INCLUDE fail %]
49
		[% END %]
50
		</p>
16
    </div>
51
    </div>
17
    <form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
18
	<input type="submit" value="OK" />
19
	<input type="hidden" name="biblionumber" value="[% biblionumber %]" />
20
    </form>
21
[% ELSE %]
22
    [% IF ( success ) %]
23
	<div class="dialog message">The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %]<i>[% bibliotitle |html %]</i></a>.[% IF ( BiblioDefaultViewmarc ) %]
24
	<form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
25
[% ELSIF ( BiblioDefaultViewlabeled_marc ) %]
26
	<form action="/cgi-bin/koha/catalogue/labeledMARCdetail.pl" method="post">
27
[% ELSIF ( BiblioDefaultViewisbd ) %]
28
	<form action="/cgi-bin/koha/catalogue/ISBDdetail.pl" method="post">
29
[% ELSE %]
30
	<form method="link" action="/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]"/>
31
[% END %]
32
	    <input type="submit" class="attachanother" value="Attach Another Item"/>
33
	    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
34
	</form>
35
	<form action="/cgi-bin/koha/catalogue/detail.pl" method="post">
36
	    <input type="submit"  class="approve" value="OK" />
37
	    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
38
	</form>
39
</div>
40
52
53
	[% ELSE %]
54
	    [% IF ( success ) %]
55
			<div class="dialog message">The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %]<i>[% bibliotitle |html %]</i></a>.
56
			<p>
57
			[% INCLUDE actions %]
58
		                <input type="submit" class="approve" value="OK" />
59
                                <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
60
                        </form>
61
                                <form method="get" action="/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]"/>
62
                                <input type="submit" class="new" value="Attach another item"/>
63
                                <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
64
                        </form>
65
	                </p>
66
			</div>
41
    [% ELSE %]
67
    [% ELSE %]
42
	[% IF ( missingparameter ) %]
68
	[% IF ( missingparameter ) %]
43
	<form method="post" action="/cgi-bin/koha/cataloguing/moveitem.pl">
69
	<form method="post" action="/cgi-bin/koha/cataloguing/moveitem.pl">
44
	    [% IF ( missingbiblionumber ) %]
70
	    [% IF ( missingbiblionumber ) %]
45
	    <fieldset id="biblionumber_fieldset">
71
	    <fieldset id="biblionumber_fieldset">
46
		<label for="biblionumber">Select the biblionumber to attach the item to</label>
72
		<label for="biblionumber">Select the biblionumber to attach the item to</label>
47
		    <div class="hint">Enter biblionumber:</div>
73
			<div class="hint">Enter biblionumber:</div>
48
		    <input type="text" name="biblionumber" id="biblionumber" class="focus" size="14" />
74
		    <input type="text" name="biblionumber" id="biblionumber" class="focus" size="14" />
49
		    <fieldset class="action"><input type="submit" value="Submit" /></fieldset>
75
		    <fieldset class="action"><input type="submit" value="Submit" /></fieldset>
50
	    </fieldset>
76
	    </fieldset>
51
- 

Return to bug 6323