Koha/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tmpl
Owen Leonard d6e83087a4 Fix for Bug 3859, Attach item clarification
- Modifies hint text
- Adds handling for BiblioDefaultView preference
- Markup and CSS tweaks

Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2010-12-17 09:41:28 +13:00

66 lines
3.4 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Attach an item to <!-- TMPL_VAR NAME="bibliotitle" escape="html" --></title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
<!-- TMPL_INCLUDE NAME="cat-search.inc" -->
<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><!-- TMPL_VAR NAME="bibliotitle" escape="html" --></i></div>
<div id="doc" class="yui-t7">
<!-- TMPL_IF NAME="error" -->
<div class="dialog alert">
<!-- TMPL_IF NAME="errornonewitem" -->ERROR: Unable to create the new item.<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="errornoitem" -->ERROR: Unable to get the item.<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="errornoitemnumber" -->ERROR: Unable to get the item number from this barcode.<!-- /TMPL_IF -->
</div>
<form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
<input type="submit" value="OK" />
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
</form>
<!-- TMPL_ELSE -->
<!-- TMPL_IF NAME="success" -->
<div class="dialog message">The item has successfully been attached to <!-- TMPL_INCLUDE NAME="biblio-default-view.inc" --><i><!-- TMPL_VAR NAME="bibliotitle" escape="html" --></i></a>.<!-- TMPL_IF name="BiblioDefaultViewmarc" -->
<form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
<!-- TMPL_ELSIF NAME="BiblioDefaultViewlabeled_marc" -->
<form action="/cgi-bin/koha/catalogue/labeledMARCdetail.pl" method="post">
<!-- TMPL_ELSIF NAME="BiblioDefaultViewisbd" -->
<form action="/cgi-bin/koha/catalogue/ISBDdetail.pl" method="post">
<!-- TMPL_ELSE -->
<form action="/cgi-bin/koha/catalogue/detail.pl" method="post">
<!-- /TMPL_IF -->
<input type="submit" class="approve" value="OK" />
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
</form></div>
<!-- TMPL_ELSE -->
<!-- TMPL_IF NAME="missingparameter" -->
<form method="post" action="/cgi-bin/koha/cataloguing/moveitem.pl">
<!-- TMPL_IF NAME="missingbiblionumber" -->
<fieldset id="biblionumber_fieldset">
<label for="biblionumber">Select the biblionumber to attach the item to</label>
<div class="hint">Enter biblionumber:</div>
<input type="text" name="biblionumber" id="biblionumber" class="focus" size="14" />
<fieldset class="action"><input type="submit" value="Submit" /></fieldset>
</fieldset>
<!-- TMPL_ELSE -->
<input type="hidden" name="biblionumber" id="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="missingbarcode" -->
<h3>Attach an item<!-- TMPL_IF NAME="bibliotitle" --> to <i><!-- TMPL_VAR NAME="bibliotitle" escape="html" --></i><!-- /TMPL_IF --></h3>
<fieldset id="barcode_fieldset">
<label for="barcode">Enter the barcode of the item to attach:</label>
<p class="hint">The item you select will be moved to the target record.</p>
<input type="text" name="barcode" id="barcode" class="barcode focus" size="14" />
<fieldset class="action"><input type="submit" value="Submit" /></fieldset>
</fieldset>
<!-- TMPL_ELSE -->
<input type="hidden" name="barcode" id="barcode" value="<!-- TMPL_VAR NAME="barcode" -->" />
<!-- /TMPL_IF -->
</form>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->