From 6bbaf2e1f76253cc7d99ae323fe5b7bd5683031b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 19 Aug 2013 12:26:56 -0400 Subject: [PATCH] Bug 3934 - move test prediction pattern button Content-Type: text/plain; charset="utf-8" On the subscription add/edit screen the buttons related to numbering patterns are grouped with the "save" button, which is potentially confusing. This patch moves the buttons into the "serials planning" region so they are visually grouped with related functionality. Unrelated changes: Removed a few redundant "javascript:" pseudo-protocols from event handlers, and added a "Cancel" link. To test, edit an existing subscription and confirm that the prediction pattern buttons are grouped inside the "serials planning" region. Confirm that each button triggers the correct event. Confirm that clicking the "cancel" link returns you to the subscription detail view. Also test creating a new subscription. Again buttons should work correctly. The "Cancel" link should return you to the Serials module home page. --- .../prog/en/modules/serials/subscription-add.tt | 29 ++++++++++++-------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt index 14f01ef..025b8b8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt @@ -1145,7 +1145,7 @@ $(document).ready(function() {
  • - [% IF ( periodicity16 ) %] @@ -1312,20 +1312,11 @@ $(document).ready(function() {
  • - -
    - - - -
    -
    - -
    +
    + + + +
    + + +
    + + [% IF ( subscriptionid ) %] + Cancel + [% ELSE %] + Cancel + [% END %] +
    + -- 1.7.9.5