[Koha-patches] [PATCH] [labels_recon] [ 6/6] tweak label batch template for new label batches

Galen Charlton gmcharlt at gmail.com
Sun Sep 6 03:42:41 CEST 2009


Signed-off-by: Galen Charlton <gmcharlt at gmail.com>
---
 .../prog/en/modules/labels/label-edit-batch.tmpl   |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

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 c6d0fac..de26dea 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
@@ -21,6 +21,7 @@
                     <div class="yui-g">
                         <div class="yui-u first" id="manage-label-batches">
                             <div class="hint">Current Branch: <!-- TMPL_VAR NAME="LoginBranchname" --></div>
+                                <!-- TMPL_IF NAME="table_loop" -->
                                 <form name="items" class="checkboxed">
                                     <h2>Items in batch number <!-- TMPL_VAR NAME="batch_id" --></h2>
                                     <table>
@@ -45,6 +46,10 @@
                                         <!-- /TMPL_LOOP -->
                                     </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>
+                                <!-- /TMPL_IF -->
                             </div>
                             <!-- TMPL_IF NAME="err" -->
                             <div class="yui-u">
-- 
1.6.3.3




More information about the Koha-patches mailing list