Bugzilla – Attachment 119747 Details for
Bug 27827
Authority type input field for new authority types should be wider
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27827: (follow-up) add a hint for clarification
Bug-27827-follow-up-add-a-hint-for-clarification.patch (text/plain), 1.78 KB, created by
Martin Renvoize
on 2021-04-16 14:07:48 UTC
(
hide
)
Description:
Bug 27827: (follow-up) add a hint for clarification
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2021-04-16 14:07:48 UTC
Size:
1.78 KB
patch
obsolete
>From d9fff57610a1e6a57838b5ae81ae2dd5950c9b1f Mon Sep 17 00:00:00 2001 >From: Andreas Roussos <a.roussos@dataly.gr> >Date: Wed, 24 Mar 2021 13:56:15 +0100 >Subject: [PATCH] Bug 27827: (follow-up) add a hint for clarification > >When adding a new authority type, there is no indication of how big >the authority type code can be (auth_types.authtypecode in the DB has >a maximum length of 10 characters). > >This patch fixes that. > >To test, apply the patch and notice the hint appearing right above the >"Authority type:" text box as you add a new authority type: it should >display "10 characters maximum" in grey colour. > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt >index 8d5a595fe0..25c9718475 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt >@@ -103,6 +103,7 @@ > <input type="hidden" name="checked" value="0" /> > <input type="hidden" name="authtypecode" value="[% authority_type.authtypecode | html %]" />[% authority_type.authtypecode | html %] > [% ELSE %] >+ <div class="hint">10 characters maximum</div> > <label for="authtypecode" class="required">Authority type: </label> > <input id="authtypecode" type="text" class="required" required="required" name="authtypecode" size="20" maxlength="10" /> > <span class="required">Required</span> >-- >2.20.1
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 27827
:
117470
|
117471
|
117474
|
118741
|
119115
|
119116
|
119746
| 119747