Browse Source

Markup corrections and other minor changes.

- Clarifying error message
- Hiding batch action buttons when batch is empty

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
3.2.x
Owen Leonard 15 years ago
committed by Galen Charlton
parent
commit
c5fa9f5b79
  1. 4
      koha-tmpl/intranet-tmpl/prog/en/includes/labels-batches-toolbar.inc
  2. 12
      koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tmpl

4
koha-tmpl/intranet-tmpl/prog/en/includes/labels-batches-toolbar.inc

@ -169,11 +169,11 @@
//]]>
</script>
<ul class="toolbar">
<li id="additemsc"><a id="additems" href="#">Add Item(s)</a></li>
<li id="additemsc"><a id="additems" href="#">Add Item(s)</a></li><!-- TMPL_IF NAME="table_loop" -->
<li id="removeitemsc"><a id="removeitems" href="#">Remove Item(s)</a></li>
<li id="deletebatchc"><a id="deletebatch" href="#">Delete Batch</a></li>
<li id="deduplicatec"><a id="deduplicate" href="#">Remove Duplicates</a></li>
<li id="exportitemsc"><a id="exportitems" href="#">Export Item(s)</a></li>
<li id="exportbatchc"><a id="exportbatch" href="#">Export Batch</a></li>
<li id="exportbatchc"><a id="exportbatch" href="#">Export Batch</a></li><!-- /TMPL_IF -->
</ul>
</div>

12
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tmpl

@ -47,20 +47,20 @@
</table>
</form>
<!-- TMPL_ELSE -->
<h2>There are no items in this batch yet</h2>
<div class="hint"><h3>Use the toolbar above to add items.</h3></div>
<div class="dialog message"><h4>There are no items in Batch <!-- TMPL_VAR NAME="batch_id" --> yet</h4>
<p>Use the toolbar above to add items.</p></div>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_IF NAME="err" -->
<div class="yui-u">
<div class="alert">
<strong>WARNING: An error was encountered and <!-- TMPL_VAR NAME="errstr" --> Please have your system administrator check the error log for details.</strong>
<div class="dialog alert">
<strong>WARNING:</strong> An error was encountered and <!-- TMPL_VAR NAME="errstr" --> Please have your system administrator check the error log for details.
</div>
</div>
<!-- TMPL_ELSIF NAME="duplicate_message" -->
<div class="yui-u">
<div class="dialog">
<strong><!-- TMPL_VAR NAME="duplicate_count" --> duplicate item(s) found and removed from batch <!-- TMPL_VAR NAME="batch_id" -->.</strong>
<div class="dialog message">
<strong><!-- TMPL_VAR NAME="duplicate_count" --> duplicate item(s) found</strong> and removed from batch <!-- TMPL_VAR NAME="batch_id" -->.
</div>
</div>
<!-- /TMPL_IF -->

Loading…
Cancel
Save