Mercurial > kallithea
diff rhodecode/templates/files/files_annotate.html @ 1241:ed5270522724 beta
changed raw action to show images instead of saying about binary file
added mimetype to binary file text
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 10 Apr 2011 19:54:49 +0200 |
parents | 2ab211e0aecd |
children | 5a96551ee9c0 |
line wrap: on
line diff
--- a/rhodecode/templates/files/files_annotate.html Sun Apr 10 00:01:04 2011 +0200 +++ b/rhodecode/templates/files/files_annotate.html Sun Apr 10 19:54:49 2011 +0200 @@ -64,7 +64,7 @@ </div> <div class="code-body"> %if c.file.is_binary: - ${_('Binary file')} + ${_('Binary file (%s)') % c.file.mimetype} %else: % if c.file.size < c.cut_off_limit: ${h.pygmentize_annotation(c.repo_name,c.file,linenos=True,anchorlinenos=True,lineanchors='S',cssclass="code-highlight")}