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>
This commit is contained in:
Owen Leonard 2010-12-15 21:16:24 -05:00 committed by Chris Cormack
parent 750a8a8dae
commit d6e83087a4

View file

@ -1,12 +1,12 @@
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Attach item</title>
<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="doc3" class="yui-t2">
<div id="doc" class="yui-t7">
<!-- TMPL_IF NAME="error" -->
<div class="dialog alert">
@ -20,36 +20,45 @@
</form>
<!-- TMPL_ELSE -->
<!-- TMPL_IF NAME="success" -->
<div class="dialog">The item has successfully been attached to <i><!-- TMPL_VAR NAME="bibliotitle" escape="html" --></i>.</div>
<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">
<input type="submit" value="OK" />
<!-- 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>
</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_fieldset">Select the biblionumber to attach the item to</label>
<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" -->
<!-- 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_fieldset">Select the item to attach<!-- TMPL_IF NAME="bibliotitle" --> to <i><!-- TMPL_VAR NAME="bibliotitle" escape="html" --></i><!-- /TMPL_IF --></label>
<div class="hint">Enter item barcode:</div>
<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 -->
<input type="submit" value="Select" />
</form>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->