Bug 15699 [QA followup] - Only display firstname if present

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
This commit is contained in:
Nick Clemens 2016-02-01 15:57:56 +00:00 committed by Brendan Gallagher
parent 4dba088549
commit ad63a6b8da

View file

@ -47,7 +47,7 @@
<td>[% AuthorisedValues.GetByCode( 'TERM' c.term ) %]</td> <td>[% AuthorisedValues.GetByCode( 'TERM' c.term ) %]</td>
<td> <td>
[% FOREACH i IN c.instructors %] [% FOREACH i IN c.instructors %]
<div class="instructor"><span class"inst_surname">[% i.surname %]</span><span class="instr_separator">, </span><span class="instr_firstname">[% i.firstname %]</span></div> <div class="instructor"><span class"inst_surname">[% i.surname %]</span>[% IF i.firstname %]<span class="instr_separator">, </span><span class="instr_firstname">[% i.firstname %]</span>[% END %]</div>
[% END %] [% END %]
</td> </td>
<td>[% c.public_note %]</td> <td>[% c.public_note %]</td>