Koha/koha-tmpl/intranet-tmpl/prog/en/includes
Owen Leonard ecde51a1f9
Bug 22209: Move stock rotation stage and item forms into modals
This patch makes a number of interface changes to the Stock Rotation
management interface:

 - "Add stage" and "Add items" forms are now triggered by clicking new
   buttons in the toolbar.
 - "Manage stages" and "Manage items" menu items have been added to a
   sidebar menu to be displayed when stages or items are being managed.
 - JavaScript has been added to move focus to the first form field in
   the modal when it is displayed. The "autofocus" attribute is not
   sufficent here because the modal is hidden by default.
 - Add messages to be shown when there are no items or stages to be
   displayed.
 - Correct "selected" attributes to use XHTML-style: selected="selected"
  (https://wiki.koha-community.org/wiki/Coding_Guidelines#HTML_Templates)

To test, apply the patch and go to Tools -> Stock rotation.

 - Create a rota if you don't already have one.
   - Manage stages for your rota.
     - If your rota has no stages you should see a message along with an
       "Add stage" button. The button should trigger the "Add stage"
       modal.
     - Test the "Add stage" button in the toolbar. It should trigger a
       modal dialog containing the form for adding a new stage. The
       cursor focus should automatically be on the "library" field.
     - Submitting the form should correctly add the stage.
     - Verify that there is a new menu in the sidebar, "Manage stages"
       and "Manage items."
   - Manage items for your rota.
     - If your rota has no items you should see a message along with an
       "Add items" button. The button should trigger the "Add items"
       modal.
     - Test the "Add items" button in the toolbar. It should trigger a
       modal dialog containing the form for adding new items. The cursor
       focus should automatically be on the "barcode" field.
     - Submitting either a barcode or a file of barcodes should work
       correctly.
     - Verify that the new menu items are shown in the sidebar.

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-08-08 16:05:50 +01:00
..
catalogue Bug 21716: Escape publisher in item search 2019-07-26 16:14:31 +01:00
csv_headers Bug 22424: (follow-up) Show blank value for empty status 2019-04-30 13:39:44 +00:00
mana Bug 22249: Mana - Move comment process in a dedicated sub 2019-07-26 16:08:08 +01:00
modals Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
str Bug 22904: Untranslatable strings in members-menu.js 2019-05-30 10:06:18 +00:00
virtualshelves/merge Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
about-team.inc Bug 21626: (follow-up) Template corrections for arrayref 2019-05-17 14:46:10 +00:00
accounts.inc Bug 22610: Update SIP2 to use payment_type 2019-08-05 15:02:54 +01:00
acquisitions-add-to-basket.inc Bug 15184: Add the ability to duplicate existing order lines 2018-11-08 15:52:57 +00:00
acquisitions-menu.inc Bug 22444: currencies_manage permission doesn't provide link to manage currencies when selected alone 2019-04-11 13:34:10 +00:00
acquisitions-search.inc Bug 18584: Our legacy code contains trailing-spaces 2018-11-15 12:47:34 +00:00
acquisitions-toolbar.inc Bug 22957: Remove type attribute from script tags: Staff client includes 1/2 2019-07-15 11:27:58 +01:00
additem.js.inc Bug 22957: Remove type attribute from script tags: Staff client includes 1/2 2019-07-15 11:27:58 +01:00
additional-fields-display.inc Bug 15774: (follow-up) Add html filters 2019-03-07 20:37:05 +00:00
additional-fields-entry.inc Bug 15774: (follow-up) Add html filters 2019-03-07 20:37:05 +00:00
admin-items-search-field-form.inc Bug 13618: remove wrong html filter in 'Item search fields' admin 2018-10-26 15:54:54 +00:00
admin-menu.inc Bug 11529: (follow-up) Remove manage_keywords2koha_mappings permission. 2019-08-05 15:03:19 +01:00
adv-search.inc Bug 13272: (follow-up) add missing type="text" 2018-10-01 11:18:32 +00:00
auth-finder-search.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
authorities-search-results.inc Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
authorities-search.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
authorities-toolbar.inc Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
authorities.inc Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
authorities_js.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
av-build-dropbox.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
biblio-default-view.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
biblio-title-head.inc Bug 11529: Prevent too many spaces/break lines in the title tag 2019-08-05 18:43:26 +01:00
biblio-title.inc Bug 11529: (follow-up) Fix QA issues 2019-08-05 15:03:19 +01:00
biblio-view-menu.inc Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
blocked-fines.inc Bug 21757: Clenup of moremember.pl and its templates 2019-04-29 12:12:40 +00:00
blocking_errors.inc Bug 22616: Updating error text messages 2019-04-17 12:25:24 +00:00
borrower_debarments.inc Bug 13272: (follow-up) fix concerns from comment #5 2018-10-01 11:18:31 +00:00
branch-selector.inc Bug 21669: Do not html filter TT assignement statements 2018-10-26 16:38:36 +00:00
browser-strings.inc Bug 22957: Remove type attribute from script tags: Staff client includes 1/2 2019-07-15 11:27:58 +01:00
budgets-active-currency.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
budgets-admin-search.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
budgets-admin-toolbar.inc Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
calendar.inc Bug 20729: Update style of datepickers 2019-01-28 13:06:34 +00:00
cat-menu.inc
cat-search.inc Bug 19046: Make seach pulldown to retain index selection 2019-03-11 10:28:09 +00:00
cat-toolbar.inc Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
catalog-strings.inc Bug 22957: Remove type attribute from script tags: Staff client includes 1/2 2019-07-15 11:27:58 +01:00
cataloging-search.inc Bug 13272: (follow-up) add missing type="text" 2018-10-01 11:18:32 +00:00
cateditor-ui.inc Bug 17178: Add virtual keyboard to advanced cataloguing editor 2019-06-28 15:54:33 +01:00
cateditor-widgets-marc21.inc Bug 23045: TextMarc errors on blank lines 2019-07-01 14:52:37 +01:00
category-out-of-age-limit.inc Bug 17492: (QA follow-up) Correct template variable 2019-07-01 15:20:31 +01:00
chart.inc Bug 22168: Improve styling of new chart settings for reports 2019-01-28 16:05:37 +00:00
checkin-search.inc Bug 13272: (follow-up) add missing type="text" 2018-10-01 11:18:32 +00:00
checkouts-table-footer.inc Bug 7088: Allow renew on hold items with due date 2019-05-09 14:40:49 +00:00
checkouts-table.inc Bug 7088: (follow-up) Add pref to checkbox 2019-05-09 14:40:49 +00:00
circ-menu.inc Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
circ-nav.inc Bug 10300: (follow-up) add controls on transfers page 2019-04-26 11:49:08 +00:00
circ-patron-search-results.inc Bug 17353: Add phone number column to checkout search 2019-01-28 13:06:35 +00:00
circ-search.inc Bug 13272: Adds type="text" to inputs missing it 2018-10-01 11:18:30 +00:00
cities-admin-search.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
columns_settings.inc Bug 22811: Add button to clear DataTables filtering 2019-05-09 19:30:05 +00:00
contracts-admin-search.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
country-list.inc Bug 14608: Move country list to an include file 2017-03-22 23:51:30 +00:00
currencies-admin-search.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
datatables.inc Bug 22957: Remove type attribute from script tags: Staff client includes 1/2 2019-07-15 11:27:58 +01:00
date-format.inc Bug 12072: Make datepicker and templates to be aware of dmydot format 2015-11-19 13:15:19 -03:00
delimiter_text.inc Bug 19910: Use span to make translators happy 2018-04-04 16:06:56 -03:00
doc-head-close-receipt.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
doc-head-close.inc Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
doc-head-open.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
empty_line.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
facets.inc Bug 14419: (QA follow-up) Restore the link styling 2019-07-04 09:23:22 +01:00
filter-orders.inc Bug 21308: Results from order search do not show the search parameters 2019-04-19 14:13:53 +00:00
form-blocks.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
format_price.inc Bug 22957: Remove type attribute from script tags: Staff client includes 1/2 2019-07-15 11:27:58 +01:00
greybox.inc Bug 22957: Remove type attribute from script tags: Staff client includes 1/2 2019-07-15 11:27:58 +01:00
guided-reports-view.inc Bug 19856: Improve styling of reports sidebar 2018-03-23 11:45:38 -03:00
header.inc Bug 22765: Add class beside loggedinusername to indicate if logged in user is a superlibrarian 2019-04-26 12:20:12 +00:00
holds_table.inc Bug 23048: Hide non-pickup branches from hold modification select 2019-07-19 13:49:38 +01:00
home-search.inc Bug 12283: Disable autocomplete for patron search inputs 2019-01-30 11:53:17 +00:00
html_helpers.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
i18n.inc Bug 15395: Make QA test script happy 2018-11-08 15:55:52 +00:00
ill-list-table-strings.inc Bug 18589: (follow-up) Fix QA tool failures 2019-03-22 20:21:47 +00:00
ill-list-table.inc Bug 18589: (follow-up) Fix QA tool failures 2019-03-22 20:21:47 +00:00
ill-toolbar.inc Bug 22099: Fixed ILL toolbar to say Refresh when displaying requests 2019-06-03 18:56:29 +01:00
installer-doc-head-close.inc Bug 22451: Use Asset everywhere 2019-04-16 13:17:32 +00:00
installer-intranet-bottom.inc Bug 22451: Use Asset everywhere 2019-04-16 13:17:32 +00:00
installer-strings.inc Bug 22973: Remove type attribute from script tags: Staff client includes 2/2 2019-05-30 10:25:21 +00:00
intranet-bottom.inc Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
intranetstylesheet.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
js_includes.inc Bug 23405: Circulation autocomplete for patron lookup broken if cardnumber is empty 2019-08-08 12:43:22 +01:00
keyboard_shortcuts.inc Bug 17178: Add virtual keyboard to advanced cataloguing editor 2019-06-28 15:54:33 +01:00
labels-toolbar.inc Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
langmenu-staff-top.inc Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
last-borrower.inc Bug 20312: Add a link to last consulted patron 2018-11-08 15:38:20 +00:00
letters-search.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
member-alt-address-style-de.inc Bug 3766: Cities/Towns only on one address 2019-04-17 12:25:25 +00:00
member-alt-address-style-fr.inc Bug 3766: Cities/Towns only on one address 2019-04-17 12:25:25 +00:00
member-alt-address-style-us.inc Bug 3766: Cities/Towns only on one address 2019-04-17 12:25:25 +00:00
member-alt-contact-style-de.inc Bug 3766: Cities/Towns only on one address 2019-04-17 12:25:25 +00:00
member-alt-contact-style-fr.inc Bug 3766: Cities/Towns only on one address 2019-04-17 12:25:25 +00:00
member-alt-contact-style-us.inc Bug 3766: Cities/Towns only on one address 2019-04-17 12:25:25 +00:00
member-display-address-style-de.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
member-display-address-style-fr.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
member-display-address-style-us.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
member-display-alt-address-style-de.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
member-display-alt-address-style-fr.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
member-display-alt-address-style-us.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
member-main-address-style-de.inc Bug 3766: Cities/Towns only on one address 2019-04-17 12:25:25 +00:00
member-main-address-style-fr.inc Bug 3766: Cities/Towns only on one address 2019-04-17 12:25:25 +00:00
member-main-address-style-us.inc Bug 3766: Cities/Towns only on one address 2019-04-17 12:25:25 +00:00
members-toolbar.inc Bug 22904: Untranslatable strings in members-menu.js 2019-05-30 10:06:18 +00:00
merge-record-strings.inc Bug 21672: Switch templates to Bootstrap grid: Various 2019-01-25 17:41:37 +00:00
merge-record.inc Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
messaging-preference-form.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
noadd-warnings.inc Bug 17082: Translatability: Fix sentence splitting in member.tt 2016-08-10 13:49:48 +00:00
onboarding_messages.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
page-numbers.inc Bug 22935: Improve style of Bootstrap pagination 2019-06-24 15:41:07 +01:00
password_check.inc Bug 22973: Remove type attribute from script tags: Staff client includes 2/2 2019-05-30 10:25:21 +00:00
patron-article-requests.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
patron-search-box.inc Bug 12283: Disable autocomplete for patron search inputs 2019-01-30 11:53:17 +00:00
patron-search.inc Bug 21904: Add missing PROCESS stt 2019-02-19 13:52:14 +00:00
patron-title.inc Bug 21526: Remove duplicated USE raw statement 2018-10-26 17:09:58 +00:00
patron-toolbar.inc Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
patroncards-errors.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
patroncards-toolbar.inc Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
patrons-admin-search.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
permissions.inc Bug 11529: (follow-up) Remove manage_keywords2koha_mappings permission. 2019-08-05 15:03:19 +01:00
popup-bottom.inc Bug 13618: Manually replace missing .raw 2018-08-17 15:55:10 +00:00
prefs-admin-search.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
prefs-menu.inc Bug 19538: Move EnableAdvancedCatalogingEdtor from 'Labs' to 'Cataloging' 2018-04-11 16:45:09 -03:00
quotes-toolbar.inc Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
quotes-upload-toolbar.inc Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
reports-menu.inc Bug 19856: (follow-up) Improve styling of reports sidebar 2018-03-23 11:45:38 -03:00
reports-toolbar.inc Bug 22746: Fix typos in add mana comment modals again 2019-05-23 14:54:02 +00:00
resort_form.inc
rotating-collections-toolbar.inc Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
search_indexes.inc Bug 19046: (QA follow-up) Remove doubled up 'Title as phrase' 2019-03-11 10:28:09 +00:00
select2.inc Bug 22451: Use Asset everywhere 2019-04-16 13:17:32 +00:00
serials-menu.inc Bug 22851: Style navigation links in serials modules like same links in other modules 2019-06-19 13:15:48 +01:00
serials-search.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
serials-toolbar.inc Bug 23065: Rename "New subscription" button when default to current serial 2019-06-13 12:28:00 +01:00
slip-print.inc Bug 22973: Remove type attribute from script tags: Staff client includes 2/2 2019-05-30 10:25:21 +00:00
stockrotation-toolbar.inc Bug 22209: Move stock rotation stage and item forms into modals 2019-08-08 16:05:50 +01:00
strings.inc Bug 22973: Remove type attribute from script tags: Staff client includes 2/2 2019-05-30 10:25:21 +00:00
subscriptions-search.inc Bug 17537: Fix valid-templates.t for some include files 2016-11-04 11:03:48 +00:00
subtypes_unimarc.inc Bug 16557 - Remove the use of "onclick" from several include files 2016-06-24 13:51:01 +00:00
suggestions-add-search.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
timepicker.inc Bug 22973: Remove type attribute from script tags: Staff client includes 2/2 2019-05-30 10:25:21 +00:00
tools-item-action.inc
tools-menu.inc Bug 11642: (follow-up) Improve Batch patron deletion and anonymization GUI to make consequences clearer 2019-07-15 12:43:03 +01:00
tools-nomatch-action.inc
tools-overlay-action.inc
validator-strings.inc Bug 22973: Remove type attribute from script tags: Staff client includes 2/2 2019-05-30 10:25:21 +00:00
vendor-menu.inc Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
virtualshelves-toolbar.inc Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
waiting_holds.inc Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
wysiwyg-systempreferences.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
xslt-handler.inc Bug 20272: Changes for Breeding.pm and Record.pm 2018-07-02 12:12:49 +00:00
z3950-admin-search.inc Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
z3950_search.inc Bug 22973: Remove type attribute from script tags: Staff client includes 2/2 2019-05-30 10:25:21 +00:00