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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt (-29 / +55 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
		<p>
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
40
		[% END %]
41
42
		[% IF ( errornoitem ) %]ERROR: Unable to get the item.<p>
43
			[% INCLUDE actions %]
44
			[% INCLUDE fail %]
45
		[% END %]
46
47
		[% IF ( errornoitemnumber ) %]ERROR: Unable to get the item number from this barcode.<p>
48
			[% INCLUDE actions %]
49
			[% INCLUDE fail %]
50
		[% END %]
51
		</p>
16
    </div>
52
    </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
53
54
	[% ELSE %]
55
	    [% IF ( success ) %]
56
			<div class="dialog message">The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %]<i>[% bibliotitle |html %]</i></a>.
57
			<p>
58
			[% INCLUDE actions %]
59
		                <input type="submit" class="approve" value="OK" />
60
                                <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
61
                        </form>
62
                                <form method="get" action="/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]"/>
63
                                <input type="submit" class="new" value="Attach another item"/>
64
                                <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
65
                        </form>
66
	                </p>
67
			</div>
41
    [% ELSE %]
68
    [% ELSE %]
42
	[% IF ( missingparameter ) %]
69
	[% IF ( missingparameter ) %]
43
	<form method="post" action="/cgi-bin/koha/cataloguing/moveitem.pl">
70
	<form method="post" action="/cgi-bin/koha/cataloguing/moveitem.pl">
44
	    [% IF ( missingbiblionumber ) %]
71
	    [% IF ( missingbiblionumber ) %]
45
	    <fieldset id="biblionumber_fieldset">
72
	    <fieldset id="biblionumber_fieldset">
46
		<label for="biblionumber">Select the biblionumber to attach the item to</label>
73
		<label for="biblionumber">Select the biblionumber to attach the item to</label>
47
		    <div class="hint">Enter biblionumber:</div>
74
			<div class="hint">Enter biblionumber:</div>
48
		    <input type="text" name="biblionumber" id="biblionumber" class="focus" size="14" />
75
		    <input type="text" name="biblionumber" id="biblionumber" class="focus" size="14" />
49
		    <fieldset class="action"><input type="submit" value="Submit" /></fieldset>
76
		    <fieldset class="action"><input type="submit" value="Submit" /></fieldset>
50
	    </fieldset>
77
	    </fieldset>
51
- 

Return to bug 6323