Bugzilla – Attachment 106134 Details for
Bug 15400
Display patron age in useful places in the staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15400: (follow-up) Updating text display
Bug-15400-follow-up-Updating-text-display.patch (text/plain), 2.10 KB, created by
Katrin Fischer
on 2020-06-21 16:42:39 UTC
(
hide
)
Description:
Bug 15400: (follow-up) Updating text display
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-06-21 16:42:39 UTC
Size:
2.10 KB
patch
obsolete
>From ef67b89c0ef7a0c10dc4a56cf4bb49c93e5e782d Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Thu, 21 Feb 2019 19:45:49 +0000 >Subject: [PATCH] Bug 15400: (follow-up) Updating text display >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Now shows as 'Born: [date of birth] (age)' in circ sidebar menu and >search results > >Sponsored-by: Catalyst IT > >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >Signed-off-by: Michal Denar <black23@gmail.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc | 2 +- > koha-tmpl/intranet-tmpl/prog/en/includes/patron-age.inc | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >index 1e435c8109..e24d3e39bc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >@@ -56,7 +56,7 @@ > [% END %] > [% IF ( patron.dateofbirth ) %] > <li> >- <span class="label">Date of birth:</span> >+ <span class="label">Born:</span> > [% INCLUDE 'patron-age.inc' %] > </li> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-age.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-age.inc >index c89382b641..899ce163c3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-age.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-age.inc >@@ -2,7 +2,7 @@ > [%- IF ( patron ) -%] > [%- IF ( patron.dateofbirth ) -%] > [% patron.dateofbirth | $KohaDates -%] >- [%- IF ( patron.get_age ) %] ([% patron.get_age | html %] years) >- [%- ELSIF ( patron.age ) %] ([% patron.age | html %] years)[% END -%] >+ [%- IF ( patron.get_age ) %] ([% patron.get_age | html %]) >+ [%- ELSIF ( patron.age ) %] ([% patron.age | html %])[% END -%] > [%- END -%] > [%- END -%] >-- >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 15400
:
45882
|
46935
|
81892
|
82714
|
85432
|
85479
|
85494
|
85495
|
85496
|
85497
|
86457
|
86458
|
86459
|
86460
|
88274
|
88275
|
88276
|
88277
|
88278
|
88845
|
88846
|
88977
|
88978
|
88979
|
88980
|
88981
|
100047
|
100048
|
100049
|
100050
|
100051
|
100065
|
100066
|
100067
|
100068
|
100069
|
100118
|
103373
|
106133
| 106134 |
106135
|
106136
|
106137
|
106138
|
106139
|
106140
|
106307