Bug 10514: improve visibility of Add item link on new order form
authorOwen Leonard <oleonard@myacpl.org>
Thu, 11 Jul 2013 14:28:55 +0000 (10:28 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 25 Jul 2013 14:12:02 +0000 (11:12 -0300)
commit606a25bc41047291e4b11390b97caf5d9f01ae65
tree2db99633e95a8e06949ee2b72dd1d55bcbe6f94f
parent97df2e8dad354d6b6c54a16eacdb72c5ad96edd8
Bug 10514: improve visibility of Add item link on new order form

This patch converts the "Add" and "Clear" links
to the standard "submit/cancel" format inside a fieldset. This gives
them a little more visual weight.

Based on the changes made by Liz Rea and Jonathan Druart.

To test:

- create a basket
- add a record to it
- scroll down - the link to add item and cancel should both be more
  prominent now.
- Click "Add item" - it should add an item.

Signed-off-by: Liz Rea <liz@catalyst.net.nz>
I still feel weird about the button, but as two people have said they'd rather have the button, I'm alright with it I guess.
Really what I want is people to notice it's there and click it at the appropriate time. I hope this will help that issue.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.
Leaves the translation problems, but that needs more work and is
out of the scope of this bug.
Tested Add and Update functionality works correctly.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 275f405c8b3920634907e5e1f2ef8ccecf497868)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/js/additem.js