Bugzilla – Attachment 27513 Details for
Bug 11769
Use validation plugin when creating new MARC framework
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11769 [Follow-up] Use validation plugin when creating new MARC framework
Bug-11769-Follow-up-Use-validation-plugin-when-cre.patch (text/plain), 2.54 KB, created by
David Cook
on 2014-04-24 02:18:40 UTC
(
hide
)
Description:
Bug 11769 [Follow-up] Use validation plugin when creating new MARC framework
Filename:
MIME Type:
Creator:
David Cook
Created:
2014-04-24 02:18:40 UTC
Size:
2.54 KB
patch
obsolete
>From 69d6983a6e6a15402a5202fe89009944a4b8fe57 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 17 Mar 2014 13:13:00 -0400 >Subject: [PATCH] Bug 11769 [Follow-up] Use validation plugin when creating > new MARC framework > >This follow up adds the correct "required" style to the required form >fields as well as the "required" text after each required field. > >To test, apply all patches and go to Administration -> MARC >bibliographic framework -> New framework. The framework code and >description fields should show that they are required. > >Signed-off-by: David Cook <dcook@prosentient.com.au> > >Works as described and feels a million times better. >--- > .../prog/en/modules/admin/biblio_framework.tt | 17 +++++++++++++---- > 1 files changed, 13 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt >index 4ef8103..bc66f60 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt >@@ -116,11 +116,20 @@ > <input type="hidden" name="modif" value="1" /> > </li> > [% ELSE %] >- <li><label for="frameworkcode">Framework code: </label><input type="text" id="frameworkcode" name="frameworkcode" size="4" maxlength="4" onblur="toUC(this)" required="required" class="required" /></li> >+ <li> >+ <label for="frameworkcode" class="required">Framework code: </label> >+ <input type="text" id="frameworkcode" name="frameworkcode" size="4" maxlength="4" onblur="toUC(this)" required="required" class="required" /> >+ <span class="required">Required</span> >+ </li> > [% END %] >- <li><label for="description">Description: </label> >- <input type="text" name="frameworktext" id="description" size="40" maxlength="80" value="[% frameworktext |html %]" required="required" class="required" /></li></ol></fieldset> >- <fieldset class="action"> <input type="submit" value="Submit" class="submit" /></fieldset> >+ <li> >+ <label for="description" class="required">Description: </label> >+ <input type="text" name="frameworktext" id="description" size="40" maxlength="80" value="[% frameworktext |html %]" required="required" class="required" /> >+ <span class="required">Required</span> >+ </li> >+ </ol> >+ </fieldset> >+ <fieldset class="action"><input type="submit" value="Submit" class="submit" /></fieldset> > </form> > [% END %] > >-- >1.7.7.4
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 11769
:
25295
|
25902
|
26417
|
27513
|
27514
|
27652
|
27653