[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.
--- 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