Mercurial > kallithea
comparison pylons_app/templates/files/files_source.html @ 495:15f837c62fa5 celery
added mimetypes to files
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 22 Sep 2010 16:24:07 +0200 |
parents | 9836541b0509 |
children | d945c95ba4ac |
comparison
equal
deleted
inserted
replaced
494:b4d9680cd164 | 495:15f837c62fa5 |
---|---|
4 ${h.link_to("r%s:%s" % (c.files_list.last_changeset.revision,c.files_list.last_changeset._short), | 4 ${h.link_to("r%s:%s" % (c.files_list.last_changeset.revision,c.files_list.last_changeset._short), |
5 h.url('files_home',repo_name=c.repo_name,revision=c.files_list.last_changeset._short,f_path=c.f_path))} | 5 h.url('files_home',repo_name=c.repo_name,revision=c.files_list.last_changeset._short,f_path=c.f_path))} |
6 </dd> | 6 </dd> |
7 <dt>${_('Size')}</dt> | 7 <dt>${_('Size')}</dt> |
8 <dd>${h.format_byte_size(c.files_list.size,binary=True)}</dd> | 8 <dd>${h.format_byte_size(c.files_list.size,binary=True)}</dd> |
9 <dt>${_('Mimetype')}</dt> | |
10 <dd>${c.files_list.mimetype}</dd> | |
9 <dt>${_('Options')}</dt> | 11 <dt>${_('Options')}</dt> |
10 <dd>${h.link_to(_('show annotation'), | 12 <dd>${h.link_to(_('show annotation'), |
11 h.url('files_annotate_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))} | 13 h.url('files_annotate_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))} |
12 / ${h.link_to(_('show as raw'), | 14 / ${h.link_to(_('show as raw'), |
13 h.url('files_raw_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))} | 15 h.url('files_raw_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))} |