From 76f03c53b015b54f0642e54b65f553621567fe7b Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Thu, 26 Mar 2009 17:09:44 -0500 Subject: [PATCH] Adds a 'New Subscription' option for selection from the detail page of a record. NOTE TO DOCUMENTATION WRITERS: Due to the limitations in the serials module search interface, some users may find it easier to use the standard catalog search to locate an item on which to create a subscription record, and then use this new button to create a subscription from the detail page. Signed-off-by: Daniel Sweeney Signed-off-by: Galen Charlton --- koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc index dbc2fc6bb5..e6a26bf205 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc @@ -34,6 +34,7 @@ function confirm_deletion() { $("#duplicatebiblio").parent().remove(); $("#deletebiblio").parent().remove(); $("#newitem").parent().remove(); + $("#newsub").parent().remove(); $("#editmenuc").empty(); $("#newmenuc").empty(); $("#addtoshelfc").empty(); @@ -48,7 +49,8 @@ function confirm_deletion() { function yuiToolbar() { var newmenu = [ {text: _("New Record"), url: "/cgi-bin/koha/cataloguing/addbiblio.pl" }, - {text: _("New Item"), url: "/cgi-bin/koha/cataloguing/additem.pl?biblionumber=#additema" } + {text: _("New Item"), url: "/cgi-bin/koha/cataloguing/additem.pl?biblionumber=#additema" }, + {text: _("New Subscription"), url: "/cgi-bin/koha/serials/subscription-add.pl?biblionumber_for_new_subscription="}, ]; var editmenu = [ @@ -118,6 +120,7 @@ function confirm_deletion() {
  • New Record
  • ">New Item
  • +
  • ">New Subscription
  • &frameworkcode=&op=">Edit Record
  • ">Edit Items
  • &frameworkcode=&op=duplicate">Duplicate Record
  • -- 2.39.5