Koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools
Owen Leonard 22b18ba988 Bug 16437 - Automatic item modifications by age needs prettying
This patch makes layout and behavior changes to the automatic item
modifications by age interface, bringing some aspects of it closer into
conformance with established interface patterns.

- The intial view is now a standard table of information about existing
  rules, or a message dialog saying there are no rules.
- If there are no rules, a toolbar button reads "Add rules."
- If there are existing rules, the toolbar button reads "Edit rules."
  - Clicking the button leads to the rules edit interface, which now has
    a floating toolbar with "Add rule," "Save," and "Cancel" buttons.
  - Clicking the "Add rule" button displays a blank rule block.
    - If you are adding a rule to existing rules, the new block is
      appended at the bottom, and the page scrolls to the new rule.
    - As you add or remove rule blocks, the legend containing the rule
      count updates so that the numbers are sequential.
    - In each rule block, "age" and "substitutions" are now required.
      The age field is now validated to require a number.
    - The add/remove condition/substitution links now have more
      descriptive text labels.
    - The control to remove a rule is now a link in the <legend> element
      associated with each rule.
- Most JavaScript for this page is now in a separate file.
- Breadcrumbs are updated to be a little more specific.

To test, apply the patch and clear your browser cache if necessary.

- Go to Tools -> Automatic item modifications by age.
- Test adding and removing rules.
- Test removing all rules.
- Test adding and removing conditions and substitutions within rules.
- Test submitting the form without filling in required fields.

Followed test plan, works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
2016-05-31 11:57:12 +00:00
..
automatic_item_modification_by_age.tt Bug 16437 - Automatic item modifications by age needs prettying 2016-05-31 11:57:12 +00:00
batch_delete_records.tt Bug 16438: (followup) remove item where no single icon exist for options 2016-05-05 19:49:34 +00:00
batch_record_modification.tt Bug 16438: Use Font Awesome icons in batch templates 2016-05-05 19:49:33 +00:00
batchMod-del.tt Bug 16438: Use Font Awesome icons in batch templates 2016-05-05 19:49:33 +00:00
batchMod-edit.tt Bug 16438: (followup) remove item where no single icon exist for options 2016-05-05 19:49:34 +00:00
batchMod.tt
cleanborrowers.tt
csv-profiles.tt
export.tt Bug 16548 - All libraries selected on Tools -> Export Data screen 2016-05-30 11:17:28 +00:00
holidays.tt
import_borrowers.tt Bug 16426: follow-up of bug 15840 - correctly manage userid while inserting patrons 2016-05-06 03:41:37 +00:00
inventory.tt Bug 16454: Use 'inventory' instead of 'inventory/stocktaking' 2016-05-16 17:42:39 +00:00
koha-news.tt Bug 16372 - Replace the use of "onclick" for deletion confirmation in some templates 2016-04-29 16:11:14 +00:00
letter.tt Bug 1859: Do not display <<>> if an entry without value is selected 2016-05-16 17:25:57 +00:00
manage-marc-import.tt Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
marc_modification_templates.tt Bug 16366 - Remove obsolete "border" attribute from <img> tags 2016-04-29 16:13:55 +00:00
modborrowers.tt Bug 16238: Use .prop() instead of .attr() for 'checked' 2016-04-29 14:18:24 +00:00
overduerules.tt
picture-upload.tt
quotes-upload.tt
quotes.tt
scheduler.tt
showdiffmarc.tt
stage-marc-import.tt Bug 16337 - Remove the use of "onclick" from the stage MARC records template 2016-04-29 16:43:55 +00:00
tools-home.tt Bug 16454: Use 'inventory' instead of 'inventory/stocktaking' 2016-05-16 17:42:39 +00:00
upload-images.tt Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
upload.tt Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
viewlog.tt