From 192dd7bb2e99b229f422a819f8e15732ac99393d Mon Sep 17 00:00:00 2001 From: Joe Atzberger Date: Thu, 3 Jan 2008 14:46:20 -0600 Subject: [PATCH] Labels overhaul - labels were largely broken (and still are somewhat), but this overhaul addresses Add, Delete, deduplication, messages to user, debug, etc. Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- .../prog/en/modules/labels/label-manager.tmpl | 58 ++++---- .../prog/en/modules/labels/result.tmpl | 14 +- .../prog/en/modules/labels/search.tmpl | 13 +- labels/label-item-search.pl | 138 ++++++++---------- labels/label-manager.pl | 39 ++++- 5 files changed, 128 insertions(+), 134 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manager.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manager.tmpl index e4d751ac50..6c3fa67c7f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manager.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manager.tmpl @@ -11,16 +11,19 @@ function Plugin(batch_id) { - -
- -
-
+
+
+
+ + +
+ + + -
@@ -28,7 +31,7 @@ function Plugin(batch_id) {

Label Batches

- + @@ -36,19 +39,16 @@ function Plugin(batch_id) { - - + + - @@ -60,7 +60,7 @@ function Plugin(batch_id) { - + @@ -86,6 +86,7 @@ function Plugin(batch_id) { onclick: {fn:function(){Plugin()}} }); new YAHOO.widget.Button("deletebatch"); + new YAHOO.widget.Button("dedup"); new YAHOO.widget.Button("generate"); } @@ -94,6 +95,8 @@ function Plugin(batch_id) { @@ -101,31 +104,28 @@ function Plugin(batch_id) {
Batch idID # Edit Delete
- - - records - records ">Edit ">Delete + + ">Generate PDF for Batch
- + - + + + + + - - - -
Label NumberLabel
Num.
SummaryItem TypeItem
Type
Barcode Delete
"> : + : + - - - "> : : - - &batch_id=">Delete + &batch_id=">Delete +
- - - +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tmpl index 0b48655b5e..1cec888eee 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tmpl @@ -2,7 +2,6 @@