Bugzilla – Attachment 95108 Details for
Bug 23978
Notes field in saved reports should allow for HTML
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Allow HTML in saved reports note field
BZ23978.patch (text/plain), 2.56 KB, created by
Theodoros Theodoropoulos
on 2019-11-06 14:25:51 UTC
(
hide
)
Description:
Allow HTML in saved reports note field
Filename:
MIME Type:
Creator:
Theodoros Theodoropoulos
Created:
2019-11-06 14:25:51 UTC
Size:
2.56 KB
patch
obsolete
>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 8d9fbfb..1e56405 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 >@@ -220,7 +220,7 @@ canned reports and writing custom SQL reports.</p> > <td>[% savedreport.type | html %]</td> > <td>[% savedreport.groupname | html %]</td> > <td>[% savedreport.subgroupname | html %]</td> >- <td>[% savedreport.notes | html %]</td> >+ <td>[% savedreport.notes | $raw %]</td> > <td>[% savedreport.borrowersurname | html %][% IF ( savedreport.borrowerfirstname ) %], [% savedreport.borrowerfirstname | html %][% END %] ([% savedreport.borrowernumber | html %])</td> > <td><span title="[% savedreport.date_created | html %]">[% savedreport.date_created | $KohaDates %]</span></td> > <td><span title="[% savedreport.last_modified | html %]">[% savedreport.last_modified | $KohaDates with_hours => 1 %]</span></td> >@@ -697,7 +697,7 @@ canned reports and writing custom SQL reports.</p> > > [% IF ( execute ) %] > <h1>[% name | html %]</h1> >-[% IF ( notes ) %]<p><span class="label">Notes:</span> [% notes | html %]</p>[% END %] >+[% IF ( notes ) %]<p><span class="label">Notes:</span> [% notes | $raw %]</p>[% END %] > [% IF ( unlimited_total ) %]<p><span class="label">Total number of results:</span> [% unlimited_total | html %][% IF unlimited_total > limit %] ([% limit | html %] shown)[% END %].</p>[% END %] > <div id="sql_output" style="display:none;"><span class="label">Report SQL:</span><pre>[% sql | html %]</pre></div> > >@@ -811,7 +811,7 @@ canned reports and writing custom SQL reports.</p> > [% IF saved_results %] > <h1>Saved report results</h1> > <h2>[% name | html %]</h2> >-<p>[% notes | html %]</p> >+<p>[% notes | $raw %]</p> > <table> > [% FOREACH rows IN saved_results %] > <tr> >@@ -827,7 +827,7 @@ canned reports and writing custom SQL reports.</p> > <fieldset class="rows"> > <legend>[% reportname | html %]</legend> > <ol> >- [% IF ( notes ) %]<li><span class="label">Notes:</span> [% notes | html %]</li>[% ELSE %][% END %] >+ [% IF ( notes ) %]<li><span class="label">Notes:</span> [% notes | $raw %]</li>[% ELSE %][% END %] > <li><textarea id="sql">[% sql | html %]</textarea></li> > </ol> > </fieldset>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23978
:
95107
|
95108
|
161711