From 862eef0f651cf3275b35849769ad6d963ddd6b08 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 19 Aug 2013 12:26:56 -0400 Subject: [PATCH 3/3] Bug 3934 - move test prediction pattern button 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. Signed-off-by: Paola Rossi --- .../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.10.4