From 120cf8e575f978224088192c9adaa184126f70e8 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Mon, 1 Apr 2024 12:20:58 +0000 Subject: [PATCH] Bug 36118: Move common ILL log parts to single ill-request-log.inc file Sponsored-by: UKHSA - UK Health Security Agency Sponsored-by: PTFS Europe Ltd Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Pedro Amorim Signed-off-by: Jeremy Evans Signed-off-by: Katrin Fischer --- .../prog/en/includes/ill-request-log.inc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/ill-request-log.inc diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-request-log.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/ill-request-log.inc new file mode 100644 index 0000000000..8a4d96c042 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/ill-request-log.inc @@ -0,0 +1,14 @@ +[% USE raw %] +[% BLOCK ill_request_log %] +

+ [% log.timestamp | $KohaDates with_hours => 1 %] : + [% IF log.patron %] + [%- INCLUDE 'patron-title.inc' patron => log.patron hide_patron_infos_if_needed => 1 -%] + [% ELSE %] + [% PROCESS 'action-logs.inc' %] + [% PROCESS translate_log_interface log_interface = log.interface %] + [% END %] + - [% action_label | html %] + [% content | $raw %] +

+[% END %] \ No newline at end of file -- 2.39.5