cubicweb/pyramid/debug_toolbar_templates/rql.dbtmako
changeset 12777 7c4216ed7497
parent 12761 10b8352b0208
child 12930 665f66e57fc6
--- a/cubicweb/pyramid/debug_toolbar_templates/rql.dbtmako	Fri Sep 27 07:00:51 2019 +0200
+++ b/cubicweb/pyramid/debug_toolbar_templates/rql.dbtmako	Tue Nov 26 20:26:58 2019 +0100
@@ -47,7 +47,7 @@
             </tr>
             <tr style="display: none" id="stack-${i}">
                 <td colspan="7">
-                    <pre>${highlight(query["callstack"], "py3tb", linenos="inline") | n}</pre>
+                    <pre>${source_code_url_in_stack(highlight(query["callstack"], "py3tb", linenos="inline"), highlighted=has_pygments) | n}</pre>
                 </td>
             </tr>
             <tr style="display: none"></tr> <!-- css hack because of previous hidden tr for -stripped -->