# HG changeset patch # User Laurent Peuch # Date 1575508081 -3600 # Node ID 9c6dc1b071e32cb2030db2d05dfda782ce930936 # Parent 752de3f8cb3ec12e35b0787c616e344e98a598d6 [debug-toolbar/display_source_code] change link display from "<>" to "[source]" It is way more explicit and understandable and doesn't take that much place. diff -r 752de3f8cb3e -r 9c6dc1b071e3 cubicweb/pyramid/debug_source_code.py --- a/cubicweb/pyramid/debug_source_code.py Fri Dec 06 13:21:56 2019 +0100 +++ b/cubicweb/pyramid/debug_source_code.py Thu Dec 05 02:08:01 2019 +0100 @@ -38,7 +38,7 @@ FILES_WHITE_LIST = set() -def _generate_link_to_source(file_path, start=None, end=None, tag_body="<>"): +def _generate_link_to_source(file_path, start=None, end=None, tag_body="[source]"): if start: # step back a bit so we have a bit of top padding wen displaying the page # and the highlighted line isn't glued to top of the browser window