From 0d29051ad3364215bfff0568253e6f7d4933b3ab Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Fri, 14 Aug 2015 11:14:41 +1200 Subject: [PATCH] Bug 14676: UI/UX improvements to patron card creator MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reasoning Librarians will be doing patron card things in the following frequencies, from most frequent to least frequent: 1. Creating new patron card batches - every day/every few days 2. Managing existing card batches - every day/every few days 3. Managing existing card layouts - as needed, infrequent 5. Managing existing card templates - as needed, infrequent 6. Creating new card layouts - as needed, infrequent 7. Creating new card templates - as needed, infrequent 8. Managing existing printer profiles - possibly once only! 9. Creating new printer profiles - possibly once only! This change to the patron card creator aims to make the most frequently used items easily accessible at the top of the main area, reduces clutter on the page, and makes the label creator fall in line with UI paradigms found elsewhere in Koha. I think I've also improved the translatability here somewhat, please check that. To test: Open the patron card creator: More -> Tools -> Patron card creator Note that the toolbar has changed. It should be consistent across all of the patron card creator (it is an include). + New menu: patron card batch 1. make sure it looks ok - toolbar buttons are consistent at the top of the main block. 2. add patrons both by borrowernumber, and by search 3. note that the usual buttons have moved below the textarea, and now have icons. 4. delete and export single patrons using the buttons corresponding to each patron 5. select multiple and use the buttons above the table to remove and export selected patrons 6. export a full batch 7. deduplicate a batch There should be no regressions in functionality. Image 1. This menu item should take you directly to the upload/delete images interface 2. Upload an image, note success message is now below the form, eliminating the jumping box. 3. Delete single images using the buttons 4. Delete multiple images using the tickboxes and "Delete selected" 5. Not deletion success message is below the table, eliminating the jumping box. Layout 1. This menu item should take you directly to the "Edit layout" screen. 2. no functional changes here. 3. note toolbar at top is consistent Card template 1. this menu item should take you directly to the "Edit patron card template" page. 2. no functional changes here. 3. note toolbar at top is consistent. Printer profile 1. this menu item should take you directly to the "Edit printer profile" page. 2. no functional changes here. 3. note toolbar at top is consistent. + Manage menu: Card batches 1. This menu item should take you directly to the "currently available batches" page. 2. select a batch to edit using the buttons - it should take you to the editing interface 3. select a batch to delete using the buttons - it should ask for confirm. 4. select several batches using the tickboxes, and select Export selected. Batches should be exported as normal. 5. note toolbar at top is consistent. Images (this is actually the same page as on the new menu, I included it in both because it does both functions - can change if requested) 1. This menu item should take you directly to the upload/delete images interface 2. Upload an image, note success message is now below the form, eliminating the jumping box. 3. Delete single images using the buttons 4. Delete multiple images using the tickboxes and "Delete selected" 5. Not deletion success message is below the table, eliminating the jumping box. Layouts 1. This menu item should take you directly to the "currently available layouts" page. 2. select a layout to edit using the buttons 3. select a layout to delete using the buttons 4. note toolbar at top is consistent. Card templates 1. This menu item should take you directly to the "currently available templates" page. 2. select a template to edit using the buttons 3. select a template to delete using the buttons 4. note toolbar at top is consistent. Printer profiles 1. This menu item should take you directly to the "currently available profiles" page. 2. select a profile to edit using the buttons 3. select a profile to delete using the buttons 4. note toolbar at top is consistent + General * note that sidebar now only has "labels home" instead of the full "manage" list. It seemed redundant with the toolbar tidied up. Please note that I am happy to take suggestions/amendments to these changes. Followed test plan, behaves as advertised. Signed-off-by: Marc Véron Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- .../prog/en/includes/patroncards-menu.inc | 5 -- .../prog/en/includes/patroncards-toolbar.inc | 24 +++++-- .../prog/en/modules/common/patron_search.tt | 4 +- .../prog/en/modules/patroncards/edit-batch.tt | 39 ++++++---- .../en/modules/patroncards/edit-layout.tt | 13 +++- .../en/modules/patroncards/edit-profile.tt | 6 ++ .../en/modules/patroncards/edit-template.tt | 6 ++ .../prog/en/modules/patroncards/home.tt | 17 ----- .../en/modules/patroncards/image-manage.tt | 71 +++++++++++++------ .../prog/en/modules/patroncards/manage.tt | 20 ++++-- .../prog/en/modules/patroncards/print.tt | 8 +-- patroncards/edit-batch.pl | 4 +- patroncards/image-manage.pl | 1 + patroncards/manage.pl | 4 ++ 14 files changed, 142 insertions(+), 80 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-menu.inc index 525ed1b47c..6e830091d7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-menu.inc @@ -1,9 +1,4 @@ diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-toolbar.inc index ef32f2bb7d..53f33cbdb4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-toolbar.inc @@ -1,6 +1,22 @@ diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/common/patron_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/common/patron_search.tt index 44117b251d..38d9003758 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/common/patron_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/common/patron_search.tt @@ -184,7 +184,7 @@ function filterByFirstLetterSurname(letter) {
- +
@@ -227,7 +227,7 @@ function filterByFirstLetterSurname(letter) { - + [% INCLUDE 'intranet-bottom.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt index e360cf238b..129470ad89 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt @@ -6,6 +6,7 @@ [% INCLUDE 'datatables.inc' %]