From 05735853427613b1c18f279eee9713b1850b6c26 Mon Sep 17 00:00:00 2001
From: Nick Clemens
Date: Mon, 8 Jan 2018 15:37:45 +0000
Subject: [PATCH] Bug 16782: (QA Followup) Use Koha.Preference for
staffClientBaseURL and provide classes
---
.../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 3ae5c9e..b9daca6 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.1.4