From c1179b7073b4f9b7ea208236c5b4283e930173c6 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 27 Oct 2016 09:37:55 +0200 Subject: [PATCH] Bug 17397: Do not display parenthesis if the manager has been deleted Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 78c52a0..56219c1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -859,7 +859,9 @@ No patron matched [% message | html %] [% END %]> [% message.message_date | $KohaDates %] [% Branches.GetName( message.branchcode ) %] - ( [% message.get_column('manager_firstname') %] [% message.get_column('manager_surname') %] ) + [% IF message.manager_id %] + ( [% message.get_column('manager_firstname') %] [% message.get_column('manager_surname') %] ) + [% END %] "[% message.message %]" [% IF message.branchcode == branch OR Koha.Preference('AllowAllMessageDeletion') %] -- 2.1.4