From b785d509b1be70b3dfa07b052b4b3357649b2546 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 8 Jan 2018 15:37:45 +0000 Subject: [PATCH] Bug 16782: (QA follow-up) Use Koha.Preference for staffClientBaseURL and provide classes Signed-off-by: Jonathan Druart --- .../prog/en/modules/reports/guided_reports_start.tt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt index 3ae5c9e07f..b9daca6270 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -163,8 +163,8 @@ canned reports and writing custom SQL reports.

Creation date Last edit Last run - Public - JSON URL + Public + JSON URL [% IF (usecache) %] Cache expiry (seconds) [% END %] Saved results [% IF has_obsolete_reports %]Update[% END %] @@ -195,18 +195,18 @@ canned reports and writing custom SQL reports.

[% savedreport.date_created | $KohaDates %] [% savedreport.last_modified | $KohaDates with_hours => 1 %] [% savedreport.last_run | $KohaDates with_hours => 1 %] - + [% IF (savedreport.public) %] Yes [% ELSE %] No [% END %] - + [% IF (savedreport.public) %] [% OPACBaseURL %]/cgi-bin/koha/svc/report?id=[% savedreport.id | html %] [% ELSE %] - [% staffClientBaseURL %]/cgi-bin/koha/svc/report?id=[% savedreport.id | html %] + [% Koha.Preference('staffClientBaseURL') %]/cgi-bin/koha/svc/report?id=[% savedreport.id | html %] [% END %] [% IF (usecache) %] [% savedreport.cache_expiry %] [% END %] -- 2.39.5