From ad63a6b8da1cd91f2e03ec4093d76b00cd3045d2 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 1 Feb 2016 15:57:56 +0000 Subject: [PATCH] Bug 15699 [QA followup] - Only display firstname if present Signed-off-by: Jonathan Druart Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com --- .../opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt index 7c63dcc6b6..9744455d9c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt @@ -47,7 +47,7 @@ [% AuthorisedValues.GetByCode( 'TERM' c.term ) %] [% FOREACH i IN c.instructors %] -
[% i.surname %], [% i.firstname %]
+
[% i.surname %][% IF i.firstname %], [% i.firstname %][% END %]
[% END %] [% c.public_note %] -- 2.39.5