Koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools
Owen Leonard b8b200836e Bug 11812 - Add missing "required" indicator to fields which are required
Form fields in the staff client which are required should be configured
to be so by doing several things:

- Add a class "required" to the field's <label>
- Add a class "required" to the form field
- Add 'required="required"' to the form field
- Apppend a <span class="required">Required</span> after the form field.

Several places in the templates are missing the <span>. This patch adds
them.

To test, apply the patch and view the following pages to confirm that
the "Required" text appears:

- Acquisitions -> Add an order to a basket from a new (empty) record.
  Title, quantity, and fund should indicate they are required.

- Administration -> Authority types ->  New authority type. The
  authority type and description fields should indicate they are
  required.

- Administration -> Authority types -> MARC structure -> New tag. The
  tag field should indicate it is required.

- Patron types and categories -> New category. Category code,
  description, and category type should indicate that they are required.
  FIXME: Enrollment period is required but the user must choose one. I'm
  not sure how to handle that clearly.

- Tools -> CSV profiles. Profile name, profile type, and profile MARC
  fields should indicate they are required on both the new and edit
  forms.

- Administration -> Manage MARC modification templates. Under "Create a
  new template" the name field should indicate that it is required.

- Tools -> Batch patron modification -> Submit a batch for editing. Any
  fields which are required according to your BorrowerMandatoryField
  system preference should indicate that they are required.

Patch behaves as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

QA Edits: Re-worded the "required" not on the batch patron edit form,
added a missing word to the help text on that page. On the csv-profiles
page I removed an unnecessary "javascript:" protocol from the markup.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works and passes QA script.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-10-22 14:04:43 -03:00
..
batchMod-del.tt Bug 12660:Correct mispelling of accomodate in comments 2014-08-05 20:20:23 -03:00
batchMod-edit.tt Bug 12180 - Remove HTML from batchMod.pl 2014-08-19 09:28:07 -03:00
batchMod.tt Bug 9533: batch item modification form now shows default field values only by request 2013-07-05 15:52:26 +00:00
cleanborrowers.tt Bug 11975: improve the batch patron deletion code 2014-05-09 14:32:21 +00:00
csv-profiles.tt Bug 11812 - Add missing "required" indicator to fields which are required 2014-10-22 14:04:43 -03:00
export.tt Bug 12238: (follow-up) tweak descriptions of the ID list 2014-05-23 15:53:21 +00:00
holidays.tt Bug 12463 - Capitalization: Calendar tool, headings for different types of holidays 2014-07-02 16:01:17 -03:00
import_borrowers.tt Bug 12929: Restore behavior before bug 12716 2014-10-14 11:25:19 -03:00
inventory.tt Bug 4162 The inventory tool lacks validation for barcodes 2014-08-20 17:55:11 -03:00
koha-news.tt Bug 12862: Staff client tweaks related to obsolete language="javascript" 2014-10-18 11:13:01 -03:00
letter.tt Bug 12572 - Use jQueryUI Accordion to display message transport types 2014-07-25 18:53:45 -03:00
manage-marc-import.tt Bug 12755 - MARC Preview doesn't always display in managed MARC record 2014-10-09 12:00:33 -03:00
marc_modification_templates.tt Bug 11812 - Add missing "required" indicator to fields which are required 2014-10-22 14:04:43 -03:00
modborrowers.tt Bug 11812 - Add missing "required" indicator to fields which are required 2014-10-22 14:04:43 -03:00
overduerules.tt Bug 11742: A letter code should be unique. 2014-06-23 15:19:55 -03:00
picture-upload.tt Bug 9310 - Patron image upload template corrections 2013-01-17 21:53:42 -05:00
quotes-upload.tt Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
quotes.tt Bug 12163 - fix adding new quotes 2014-05-06 16:03:23 +00:00
scheduler.tt Bug 8181 [REVISED] Replace DynArch calendar widget with jQueryUI version 2012-06-25 18:26:26 +02:00
stage-marc-import.tt Bug 8015: Add MARC Modifications Templates 2013-10-31 22:47:08 +00:00
tools-home.tt Bug 8015: QA Followup 2013-10-31 22:50:39 +00:00
upload-images.tt Bug 11785 - Use validation plugin when uploading local cover images 2014-02-20 16:56:21 +00:00
viewlog.tt Bug 11331 - CSV export for viewlog.pl is missing newlines - followup 2014-08-05 20:26:02 -03:00