Bugzilla – Attachment 18141 Details for
Bug 6329
patron categories should show which fields are required
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 6329 - patron categories should show which fields are required
PASSED-QA-Bug-6329---patron-categories-should-show.patch (text/plain), 3.17 KB, created by
Katrin Fischer
on 2013-05-15 05:30:48 UTC
(
hide
)
Description:
[PASSED QA] Bug 6329 - patron categories should show which fields are required
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-05-15 05:30:48 UTC
Size:
3.17 KB
patch
obsolete
>From 8453214f7a8c4b4017445ba651bcd05b3b16a9fd Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 14 May 2013 15:09:14 -0400 >Subject: [PATCH] [PASSED QA] Bug 6329 - patron categories should show which > fields are required > >When entering a new patron category, required fields are not indicated >on the entry form. This patch adds the "required" class to the relevant >labels. > >To test, add or edit a patron category. Confirm that the required fields >(category code, category type, description, and enrollment period) are >indicated as being required with a red label. > >Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Works nicely. >Template changes only, but no string changes. >--- > .../prog/en/modules/admin/categorie.tt | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt >index 98e09ff..c28f412 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt >@@ -143,10 +143,10 @@ > <li><span class="label">Category code: </span>[% categorycode |html %] > <input type="hidden" name="categorycode" value="[% categorycode |html %]" /><input type="hidden" name="is_a_modif" value="1" /></li> > [% ELSE %] >- <li><label for="categorycode">Category code: </label> <input type="text" name="categorycode" id="categorycode" size="10" maxlength="10" onblur="toUC(this)" /></li> >+ <li><label for="categorycode" class="required">Category code: </label> <input type="text" name="categorycode" id="categorycode" size="10" maxlength="10" onblur="toUC(this)" /></li> > [% END %] >- <li><label for="description">Description: </label> <input type="text" name="description" id="description" size="40" maxlength="80" value="[% description |html %]" /></li> >- <li><label for="enrolmentperiod">Enrollment period: </label> >+ <li><label for="description" class="required">Description: </label> <input type="text" name="description" id="description" size="40" maxlength="80" value="[% description |html %]" /></li> >+ <li><label for="enrolmentperiod" class="required">Enrollment period: </label> > <fieldset> > <legend>Choose one</legend> > <ol> >@@ -181,7 +181,7 @@ > [% END %] > </select></li> > <li><label for="reservefee">Hold fee: </label><input type="text" name="reservefee" id="reservefee" size="6" value="[% reservefee %]" /></li> >- <li><label for="category_type">Category type: </label> <select name="category_type" id="category_type"> >+ <li><label for="category_type" class="required">Category type: </label> <select name="category_type" id="category_type"> > [% IF ( type_n ) %]<option value="" selected="selected">Select a category type</option>[% ELSE %]<option value="">Select a category type</option>[% END %] > [% IF ( type_A ) %]<option value="A" selected="selected">Adult</option>[% ELSE %]<option value="A">Adult</option>[% END %] > [% IF ( type_C ) %]<option value="C" selected="selected">Child</option>[% ELSE %]<option value="C">Child</option>[% END %] >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6329
:
4076
|
4077
|
18135
|
18139
| 18141