comparison pylons_app/templates/files/files_annotate.html @ 496:47f4c7ff245b celery

added mimetypes to annotate
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 22 Sep 2010 16:26:49 +0200
parents 9836541b0509
children d945c95ba4ac
comparison
equal deleted inserted replaced
495:15f837c62fa5 496:47f4c7ff245b
28 <dt>${_('Last revision')}</dt> 28 <dt>${_('Last revision')}</dt>
29 <dd>${h.link_to("r%s:%s" % (c.file.last_changeset.revision,c.file.last_changeset._short), 29 <dd>${h.link_to("r%s:%s" % (c.file.last_changeset.revision,c.file.last_changeset._short),
30 h.url('files_annotate_home',repo_name=c.repo_name,revision=c.file.last_changeset._short,f_path=c.f_path))} </dd> 30 h.url('files_annotate_home',repo_name=c.repo_name,revision=c.file.last_changeset._short,f_path=c.f_path))} </dd>
31 <dt>${_('Size')}</dt> 31 <dt>${_('Size')}</dt>
32 <dd>${h.format_byte_size(c.file.size,binary=True)}</dd> 32 <dd>${h.format_byte_size(c.file.size,binary=True)}</dd>
33 <dt>${_('Mimetype')}</dt>
34 <dd>${c.file.mimetype}</dd>
33 <dt>${_('Options')}</dt> 35 <dt>${_('Options')}</dt>
34 <dd>${h.link_to(_('show source'), 36 <dd>${h.link_to(_('show source'),
35 h.url('files_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))} 37 h.url('files_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))}
36 / ${h.link_to(_('show as raw'), 38 / ${h.link_to(_('show as raw'),
37 h.url('files_raw_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))} 39 h.url('files_raw_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))}