Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Owen Leonard 1ad188f9d6 Bug 10409 - Do not show course entry form if no departments are found
The course reserves entry form should not be shown if there are no
DEPARTMENT authorized values, since this prevents the form from being
submitted. This patch replaces the form with an error message when no
DEPARTMENT authorized values are found.

Also corrected:

- Corrected grid structure for more standard display
- Converted labels with no corresponding inputs to <span class="label">
- Closed unclosed tags
- Corrected incorrect capitalization

This patch contains whitespace changes, so please ignore whitespace when
examining changes.

To test, delete any DEPARTMENT authorized values, if present. Create a
new course in Course Reserves. You should see a warning that no
DEPARTMENT values were found.

If you are logged in with the correct permission, the warning should
contain a link to the correct authorized value page. If you do no, the
warning should refer the problem to an administrator.

After creating one or more DEPARTMENT values, the form should display
and submit correctly.

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
After this patch has been applied, I get an error message and no form
if I don't have any DEPARTMENTs defined, which makes sense given that
the form can't be submitted without a DEPARTMENT.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.
You now see a useful error message, when no departments have been
defined. Else you are taken to the correct form.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-07-17 14:09:59 +00:00
..
acqui Bug 10258: offer to create basket group only when staff user has correct permission 2013-07-15 16:15:01 +00:00
admin Bug 10366: Alert librarian if an invoice number is duplicated 2013-07-06 17:13:45 +00:00
authorities Bug 2774 - Path to theme is hard-coded in many places 2013-05-20 11:11:04 -07:00
basket
batch
catalogue bug 10356: improve display of serial issue dates in staff bib details page 2013-07-10 14:50:41 +00:00
cataloguing Bug 10189: Translate values in UNIMARC 128b/c cataloguing plugins to English 2013-07-15 16:18:01 +00:00
circ Bug 10368: (followup) tweak label 2013-06-07 08:56:48 -07:00
course_reserves Bug 10409 - Do not show course entry form if no departments are found 2013-07-17 14:09:59 +00:00
errors
help Bug 9307: (follow-up) help text tweaks 2013-06-19 08:14:51 -07:00
installer Bug 2774 - Path to theme is hard-coded in many places 2013-06-07 09:04:15 -07:00
labels Bug 2774 - Path to theme is hard-coded in many places 2013-06-07 09:04:15 -07:00
members Bug 10507: improve warning about duplicate patron attribute value 2013-07-12 20:57:09 +00:00
offline_circ Bug 10288 - Fix a tiny typo on "Pending offline circulation actions" 2013-05-20 12:23:32 -07:00
patroncards Bug 2835 - Inconsistent use of colon at the end of sentences 2013-04-02 09:03:42 -04:00
plugins
reports Bug 10396: remove unnecessary date-picker widgets from Catalog statistics form 2013-06-17 07:37:30 -07:00
reserve Bug 10464: Patron search on placing a hold now supports autocomplete 2013-06-16 18:38:30 -07:00
reviews
rotating_collections
serials Bug 10080: (followup) change two last instances of the old syspref name 2013-05-22 08:10:35 -07:00
services Bug 10475 - Item form in acquisition not hiding subfields properly 2013-07-12 20:40:15 +00:00
sms
suggestion Bug 4907: make 'Organize by' filter in suggestions reflect selected option 2013-07-08 15:15:16 +00:00
tags Bug 2774 - Path to theme is hard-coded in many places 2013-05-20 11:11:04 -07:00
test Bug 2774 - Path to theme is hard-coded in many places 2013-05-20 11:11:04 -07:00
tools Bug 10170: expose more managed staged MARC strings to translation 2013-07-16 15:45:20 +00:00
virtualshelves Bug 9757: Remove duplicated action buttons. 2013-06-26 09:04:37 -07:00
z3950
about.tt Bug 7143: Updating history and about page 2013-07-08 15:55:31 +00:00
auth.tt Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
intranet-main.tt