[Koha-patches] [PATCH] Markup corrections and other minor changes.
Owen Leonard
oleonard at myacpl.org
Fri Sep 25 16:15:30 CEST 2009
- Clarifying error message
- Hiding batch action buttons when batch is empty
---
.../prog/en/includes/labels-batches-toolbar.inc | 4 ++--
.../prog/en/modules/labels/label-edit-batch.tmpl | 12 ++++++------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-batches-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/labels-batches-toolbar.inc
index e139feb..47a0b8f 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-batches-toolbar.inc
+++ b/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>
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tmpl
index de26dea..d132619 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tmpl
+++ b/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 -->
--
1.5.6.5
More information about the Koha-patches
mailing list