Changeset - e5a25c57c97f
[Not reviewed]
default
0 1 0
Marcin Kuzminski - 15 years ago 2010-05-21 02:12:41
marcin@python-works.com
files source updated to use webhelpers huminizer for file size, and added link to annotation
1 file changed with 4 insertions and 2 deletions:
0 comments (0 inline, 0 general)
pylons_app/templates/files/files_source.html
Show inline comments
 
@@ -2,9 +2,11 @@
 
	<dt>${_('Revision')}</dt>
 
	<dd>r${c.files_list.last_changeset.revision}:${c.files_list.last_changeset._short}</dd>
 
	<dt>${_('Size')}</dt>
 
	<dd>${h.filesizeformat(c.files_list.size)}</dd>
 
	<dd>${h.format_byte_size(c.files_list.size,binary=True)}</dd>
 
	<dt>${_('Options')}</dt>
 
	<dd>${h.link_to(_('annotate'),h.url('#'))}  / ${h.link_to(_('raw'),h.url('files_raw_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))}</dd>
 
	<dd>${h.link_to(_('annotate'),
 
	h.url('files_annotate_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))}  / ${h.link_to(_('raw'),
 
	h.url('files_raw_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))}</dd>
 
	<dt>${_('History')}</dt>
 
	<dd>
 
		${h.form(h.url('files_diff_home',repo_name=c.repo_name,f_path=c.f_path),method='GET')}
0 comments (0 inline, 0 general)