Bugzilla – Attachment 76419 Details for
Bug 20585
Label surname as name for organisation type patrons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20585: Label surname as name for organisation type patrons
Bug-20585-Label-surname-as-name-for-organisation-t.patch (text/plain), 1.76 KB, created by
Katrin Fischer
on 2018-06-25 21:03:54 UTC
(
hide
)
Description:
Bug 20585: Label surname as name for organisation type patrons
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-06-25 21:03:54 UTC
Size:
1.76 KB
patch
obsolete
>From 0e00af2a58a8e15fac5c0f3319f26500973a23f8 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 21 Jun 2018 18:33:23 +0000 >Subject: [PATCH] Bug 20585: Label surname as name for organisation type > patrons > >This patch modifies the patron edit page so that the label for an >organization name is "Name" instead of "Surname." > >To test, apply the patch and edit both an institutional patron and a >regular patron. Confirm that the name/surname label is correct in each >case. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../prog/en/modules/members/memberentrygen.tt | 20 +++++++++++++------ > 1 file changed, 14 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index e3db7c955c..36353607b3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -187,12 +187,20 @@ > [% END %] > [% UNLESS nosurname %] > <li> >- [% IF ( mandatorysurname ) %] >- <label for="surname" class="required"> >- [% ELSE %] >- <label for="surname"> >- [% END %] >- Surname: </label> >+ >+ [% IF ( I ) %] >+ <label for="surname" class="required"> >+ Name: >+ </label> >+ [% ELSE %] >+ [% IF ( mandatorysurname ) %] >+ <label for="surname" class="required"> >+ [% ELSE %] >+ <label for="surname"> >+ [% END %] >+ Surname: </label> >+ [% END %] >+ > [% IF ( uppercasesurnames ) %] > <input style="text-transform:uppercase;" type="text" id="surname" name="surname" size="20" value="[% surname %]" /> > [% ELSE %] >-- >2.17.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 20585
:
76379
|
76419
|
76483