Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Owen Leonard 6fe42caeb9 Bug 28694: Check alert in cataloguing should be a static message
This patch modifies the basic cataloging interface so that form
validation errors are collected in a static "dialog" at the top of the
page instead of showing in a transient JavaScript alert.

The text of the message is roughly the same as it was in the alert, and
links have been added so that the user can click to jump directly to the
field referenced.

If the user scrolls down away from the static error message, a button
appears in the floating toolbar to jump back to the message.

To test, apply the patch and rebuild the staff interface CSS
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client).

- Go to Cataloging and create a new record using the basic cataloging
  editor and a framework which has multiple mandatory fields defined
  (e.g. an unmodified default framework)
- Without entering anything in mandatory fields, click the "Save"
  button.
- You should see a message box appear at the top of the page.
  - It should list each missing mandatory subfield and tag, each with a
    "Go to field" link next to it.
  - Clicking the "Go to field" link should switch you to the correct tab
    and scroll the mandatory field into view.
- When you have scrolled down far enough for the error messages to be
  offscreen, an "Errors" button should appear in the floating toolbar.
  Clicking it should scroll the box back into view.
- The JS function for scrolling to a particular element on the screen
  has been modified, so test that the links in the toolbar for
  individual tags still work correctly.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-03 15:40:52 +01:00
..
acqui Bug 24406: Wrap patron category type code in a span on patron search results 2021-11-03 15:40:52 +01:00
admin Bug 27360: Add hint to input field 2021-11-03 15:40:52 +01:00
authorities Bug 29137: Add new syspref to disable AV creation within the cataloguing module 2021-10-01 16:09:55 +02:00
basket
batch Bug 29244: Add dialog class where missing in print-notices.tt 2021-10-21 12:24:04 +02:00
catalogue Bug 28859: Correctly handle 'Checked out by' visibility 2021-10-28 17:32:34 +02:00
cataloguing Bug 28694: Check alert in cataloguing should be a static message 2021-11-03 15:40:52 +01:00
circ Bug 29015: (QA follow-up) Change collection code to be just collection 2021-11-03 15:40:52 +01:00
clubs Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
common Bug 28350: Fix borrowernotes sorting for patron search 2021-06-14 17:35:20 +02:00
course_reserves Bug 28898: (follow-up) Add context to some more occurrences of Term in course reserves 2021-09-21 20:22:57 +02:00
errors Bug 28438: Capitalization: Various corrections 2021-09-28 15:12:45 +02:00
ill Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
installer Bug 27823: List upcoming steps during installation process 2021-11-03 15:40:52 +01:00
labels Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
mana
members Bug 28450: Make Account summary print tables configurable 2021-11-03 15:40:52 +01:00
offline_circ
onboarding Bug 27823: List upcoming steps during installation process 2021-11-03 15:40:52 +01:00
patron_lists Bug 16446: (follow-up) Fix translation and adjust radio buttons 2021-10-21 12:24:04 +02:00
patroncards Bug 24406: Wrap patron category type code in a span on patron search results 2021-11-03 15:40:52 +01:00
plugins Bug 28438: Capitalization: Various corrections 2021-09-28 15:12:45 +02:00
pos Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
reports Bug 29351: Add missing cn_source parameter to reports parameter menu 2021-11-02 16:50:01 +01:00
reserve Bug 29356: Pickup location dropdowns should perform 'contains' searches 2021-11-02 16:50:01 +01:00
reviews
rotating_collections
serials Bug 29301: Display error with serials search flatpickr when searching Mana 2021-10-28 12:28:33 +02:00
services
suggestion Bug 24370: (QA follow-up) Make new suggestions default to the library you re viewing 2021-11-02 14:57:04 +01:00
tags Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
test
tools Bug 29218: Rename .hidden class for DT visibility 2021-10-28 12:20:12 +02:00
virtualshelves Bug 28959: Add virtualshelves.public as a boolean 2021-10-28 17:47:38 +02:00
about.tt Bug 29209: Credits for Saxion in Dutch translation 2021-10-15 11:34:26 +02:00
auth.tt Bug 28914: Fix wording in authentication forms 2021-09-20 12:35:41 +02:00
intranet-main.tt Bug 29020: Add link on the mainpage for users without admin access 2021-10-19 09:29:09 +02:00