changeset 496:47f4c7ff245b celery

added mimetypes to annotate
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 22 Sep 2010 16:26:49 +0200
parents 15f837c62fa5
children fb0c3af6031b
files pylons_app/templates/files/files_annotate.html
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pylons_app/templates/files/files_annotate.html	Wed Sep 22 16:24:07 2010 +0200
+++ b/pylons_app/templates/files/files_annotate.html	Wed Sep 22 16:26:49 2010 +0200
@@ -30,6 +30,8 @@
 						h.url('files_annotate_home',repo_name=c.repo_name,revision=c.file.last_changeset._short,f_path=c.f_path))} </dd>
 				<dt>${_('Size')}</dt>
 				<dd>${h.format_byte_size(c.file.size,binary=True)}</dd>
+    			<dt>${_('Mimetype')}</dt>
+				<dd>${c.file.mimetype}</dd>				
 				<dt>${_('Options')}</dt>
 				<dd>${h.link_to(_('show source'),
 						h.url('files_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))}