@@ -, +, @@
reports' admin
---
.../prog/en/modules/tools/problem-reports.tt | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/problem-reports.tt
+++ a/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' ) %]
--
|