diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/problem-reports.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/problem-reports.tt index ce6c906335..4b59c661a4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/problem-reports.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/problem-reports.tt @@ -80,10 +80,24 @@ [% report.content | html %] [% OPACBaseURL | url %][% report.problempage | html %] - [% report.recipient | html %] + + [% SWITCH report.recipient %] + [% CASE 'admin' %]Koha administrator + [% CASE 'library' %]A librarian + [% END %] + [% report.created_on | $KohaDates with_hours => 1 %] [% INCLUDE 'patron-title.inc' patron => report.patron hide_patron_infos_if_needed=1 %] - [% report.status | html %] + + + [% SWITCH report.status %] + [% CASE 'New' %]New + [% CASE 'Closed' %]Closed + [% CASE 'Viewed' %]Viewed + [% CASE %]Unknown status ([% report.status | html %]) + [% END %] + + [% IF ( report.status == 'New' ) %]