Bug 16782: (QA follow-up) Use Koha.Preference for staffClientBaseURL and provide classes
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
156bcdaac4
commit
b785d509b1
1 changed files with 5 additions and 5 deletions
|
@ -163,8 +163,8 @@ canned reports and writing custom SQL reports.</p>
|
|||
<th class="title-string">Creation date</th>
|
||||
<th class="title-string">Last edit</th>
|
||||
<th class="title-string">Last run</th>
|
||||
<th>Public</th>
|
||||
<th>JSON URL</th>
|
||||
<th class="report_public">Public</th>
|
||||
<th class="report_json_url">JSON URL</th>
|
||||
[% IF (usecache) %] <th>Cache expiry (seconds)</th> [% END %]
|
||||
<th>Saved results</th>
|
||||
[% IF has_obsolete_reports %]<th>Update</th>[% END %]
|
||||
|
@ -195,18 +195,18 @@ canned reports and writing custom SQL reports.</p>
|
|||
<td><span title="[% savedreport.date_created %]">[% savedreport.date_created | $KohaDates %]</span></td>
|
||||
<td><span title="[% savedreport.last_modified %]">[% savedreport.last_modified | $KohaDates with_hours => 1 %]</span></td>
|
||||
<td><span title="[% savedreport.last_run %]">[% savedreport.last_run | $KohaDates with_hours => 1 %]</span></td>
|
||||
<td>
|
||||
<td class="report_public">
|
||||
[% IF (savedreport.public) %]
|
||||
Yes
|
||||
[% ELSE %]
|
||||
No
|
||||
[% END %]
|
||||
</td>
|
||||
<td>
|
||||
<td class="report_json_url">
|
||||
[% IF (savedreport.public) %]
|
||||
<a href="[% OPACBaseURL %]/cgi-bin/koha/svc/report?id=[% savedreport.id | html %]">[% OPACBaseURL %]/cgi-bin/koha/svc/report?id=[% savedreport.id | html %]</a>
|
||||
[% ELSE %]
|
||||
<a href="/cgi-bin/koha/svc/report?id=[% savedreport.id | html %]">[% staffClientBaseURL %]/cgi-bin/koha/svc/report?id=[% savedreport.id | html %]</a>
|
||||
<a href="/cgi-bin/koha/svc/report?id=[% savedreport.id | html %]">[% Koha.Preference('staffClientBaseURL') %]/cgi-bin/koha/svc/report?id=[% savedreport.id | html %]</a>
|
||||
[% END %]
|
||||
</td>
|
||||
[% IF (usecache) %] <td>[% savedreport.cache_expiry %]</td> [% END %]
|
||||
|
|
Loading…
Reference in a new issue