Bug 5838: Format sql outout on guided reports
New suggestion: wrapping the sql output in <pre> with an unique id. - sql can be formatted to be better readable - sql can be hidden using css and the unique id - pagination is pushed to its own line and better visible Signed-off-by: Jared Camins-Esakov <jcamins@bywatersolutions.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
b853b79001
commit
e8c43dbf3d
1 changed files with 2 additions and 2 deletions
|
@ -499,8 +499,8 @@ NAME="name" -->"><!-- TMPL_VAR NAME="name"--></label></td><td>
|
|||
<h1><!-- TMPL_VAR NAME="name" --></h1>
|
||||
<!-- TMPL_IF NAME="notes" --><p><!-- TMPL_VAR NAME="notes" --></p><!-- /TMPL_IF -->
|
||||
<!-- TMPL_IF NAME="unlimited_total" --><p>Total number of rows matching the (unlimited) query is <!-- TMPL_VAR NAME="unlimited_total" -->.</p><!-- /TMPL_IF -->
|
||||
<!-- TMPL_VAR name="sql" -->
|
||||
<!-- TMPL_VAR NAME='pagination_bar' DEFAULT="" -->
|
||||
<pre id="sql_output"><!-- TMPL_VAR name="sql" --></pre>
|
||||
<p><!-- TMPL_VAR NAME='pagination_bar' DEFAULT="" --></p>
|
||||
<!-- TMPL_UNLESS name="errors" -->
|
||||
<table>
|
||||
<tr><!-- TMPL_LOOP NAME="header_row" --><th><!-- TMPL_VAR NAME="cell" --></th><!-- /TMPL_LOOP --></tr>
|
||||
|
|
Loading…
Reference in a new issue