Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
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
..
csv
acqui-home.tt
addorder.tt
addorderiso2709.tt Bug 12927: Problems with item information tab on acq order from staged page 2014-10-16 12:51:13 -03:00
ajax.tt
aqbasketuser_search.tt Bug 2889: template aqbasketusersearch add loop.odd 2014-10-15 17:59:05 -03:00
basket.tt Bug 9416: add new order vendor note field 2014-04-19 15:55:36 +00:00
basketgroup.tt Bug 12985: All basketgroups should be listed 2014-10-09 12:14:49 -03:00
basketheader.tt
booksellers.tt Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
histsearch.tt Bug 12089: Remove use of dt_add_type_uk_date() - Acquisitions 2014-04-28 18:41:28 +00:00
invoice-files.tt Bug 3050: QA follow-up 2014-05-25 21:15:03 +00:00
invoice.tt Bug 3050: QA follow-up 2014-05-25 21:15:03 +00:00
invoices.tt Bug 12646: Display all invoices on the same page 2014-10-16 12:52:15 -03:00
lateorders.tt Bug 12089: Remove use of dt_add_type_uk_date() - Acquisitions 2014-04-28 18:41:28 +00:00
modordernotes.tt Bug 12111: (follow-up) fix breadcrumbs wording for vendor note 2014-04-28 15:31:46 +00:00
neworderbiblio.tt
neworderempty.tt Bug 11812 - Add missing "required" indicator to fields which are required 2014-10-22 14:04:43 -03:00
neworderempty_duplicate.tt
newordersubscription.tt Bug 12089: Remove use of dt_add_type_uk_date() - Acquisitions 2014-04-28 18:41:28 +00:00
newordersuggestion.tt
ordered.tt Bug 12089: Remove use of dt_add_type_uk_date() - Acquisitions 2014-04-28 18:41:28 +00:00
orderreceive.tt Bug 12111: (follow-up) ensure that vendor note is not editable during order receiving 2014-04-28 15:37:43 +00:00
parcel.tt Bug 11744: A receipt should not be cancelled if holds exist 2014-07-14 11:17:42 -03:00
parcels.tt Bug 12089: Remove use of dt_add_type_uk_date() - Acquisitions 2014-04-28 18:41:28 +00:00
spent.tt Bug 12089: Remove use of dt_add_type_uk_date() - Acquisitions 2014-04-28 18:41:28 +00:00
supplier.tt Bug 10402 follow-up: choose contacts for claims 2014-08-26 11:45:59 -03:00
transferorder.tt
uncertainprice.tt Bug 10402: Use an object for contacts 2014-08-26 11:45:42 -03:00
z3950_search.tt Bug 12835 - Acquisitions: Show search terms in z39.50 results 2014-09-08 10:55:45 -03:00