Mercurial > kallithea
diff pylons_app/templates/files/files_annotate.html @ 250:be4621c6de58
Pygments code coloring rewrite, annotation was moved to vcs whitch had much better lib for that. Fixed code recognition based on mimetypes of filenodes, for better coloring.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 04 Jun 2010 00:23:55 +0200 |
parents | 50a39f923f31 |
children | ed7abf925696 |
line wrap: on
line diff
--- a/pylons_app/templates/files/files_annotate.html Thu Jun 03 21:13:05 2010 +0200 +++ b/pylons_app/templates/files/files_annotate.html Fri Jun 04 00:23:55 2010 +0200 @@ -37,7 +37,7 @@ <div class="commit" style="font-size:70%">"${c.file_msg}"</div> </div> <div class="code-body"> - ${h.pygmentize_annotation(c.annotate,c.repo_name)} + ${h.pygmentize_annotation(c.file,linenos=True,anchorlinenos=True,lineanchors='S',cssclass="code-highlight")} </div> </div> </div>