Bugzilla – Attachment 90529 Details for
Bug 15558
To rename the patron expiration date field in patron screen
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15558: [alternate] Add classes to allow for changing expiration date wording
Bug-15558-alternate-Add-classes-to-allow-for-chang.patch (text/plain), 4.10 KB, created by
Nick Clemens (kidclamp)
on 2019-06-12 12:01:45 UTC
(
hide
)
Description:
Bug 15558: [alternate] Add classes to allow for changing expiration date wording
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2019-06-12 12:01:45 UTC
Size:
4.10 KB
patch
obsolete
>From ce50ea7a8119479ea73eca988ee83ba163eadc4a Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 12 Jun 2019 12:00:13 +0000 >Subject: [PATCH] Bug 15558: [alternate] Add classes to allow for changing > expiration date wording > >This patch adds classes to display of 'Expiration date' so users can reword via JS >if the current phrasing does not work for them. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 2 +- > 4 files changed, 4 insertions(+), 4 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 62fc2db2de..61c1a80e11 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -712,7 +712,7 @@ > [% IF ( mandatorydateexpiry ) %] > <label for="to" class="required"> > [% ELSE %] >- <label for="to"> >+ <label for="to" class="member_expiration"> > [% END %] > Expiry date (leave blank for auto calc): </label> > [% IF ( dateformat == "metric" ) %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt >index c68fd9d63c..24edd9d800 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt >@@ -60,7 +60,7 @@ > <li><span class="label">Borrowernumber: </span> [% patron.borrowernumber | html %]</li> > <li><span class="label">Category: </span>[% patron.category.description | html %] ([% patron.category.categorycode | html %])</li> > <li><span class="label">Registration date: </span>[% patron.dateenrolled | $KohaDates %]</li> >- <li><span class="label">Expiration date: </span> >+ <li><span class="label member_expiration">Expiration date: </span> > [% IF ( was_renewed ) %] > <strong class="reregistrinfo">[% patron.dateexpiry | $KohaDates %]</strong> > [% ELSE %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt >index 4c722d2542..1589620740 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt >@@ -28,7 +28,7 @@ > <li>[% patron.emailpro | html %]</li> > [% END %] > <li>Registration date: [% patron.dateenrolled | $KohaDates %]</li> >- <li>Expiration date: [% patron.dateexpiry | $KohaDates %]</li> >+ <li class="member_expiration">Expiration date: [% patron.dateexpiry | $KohaDates %]</li> > <li>Library: [% Branches.GetName( patron.branchcode ) | html %]</li> > <li>Category: [% patron.category.description | html %]</li> > </ul> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >index e967d56f68..04bc3e13b6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >@@ -451,7 +451,7 @@ > [% END %] > > <li id="patron-expirationdate"> >- <span class="label">Expiration date: </span> >+ <span class="label member_expiration">Expiration date: </span> > [% IF ( was_renewed ) %] > <strong class="reregistrinfo">[% patron.dateexpiry | $KohaDates %]</strong> > [% ELSIF ( patron.is_expired ) %] >-- >2.11.0
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 15558
:
47075
|
47082
|
47083
| 90529