Mercurial > kallithea
comparison pylons_app/templates/files/files_annotate.html @ 512:d945c95ba4ac
refactoring for new vcs implementation
renamed all ._short and .raw_id into .short_id
updated dependency for vcs to 0.1.6
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 28 Sep 2010 20:25:58 +0000 |
parents | 47f4c7ff245b |
children |
comparison
equal
deleted
inserted
replaced
511:0fce1f9e4dce | 512:d945c95ba4ac |
---|---|
24 <div class="table"> | 24 <div class="table"> |
25 <div id="files_data"> | 25 <div id="files_data"> |
26 <h3 class="files_location">${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.cur_rev,c.file.path)}</h3> | 26 <h3 class="files_location">${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.cur_rev,c.file.path)}</h3> |
27 <dl class="overview"> | 27 <dl class="overview"> |
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_id), |
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_id,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> | 33 <dt>${_('Mimetype')}</dt> |
34 <dd>${c.file.mimetype}</dd> | 34 <dd>${c.file.mimetype}</dd> |
35 <dt>${_('Options')}</dt> | 35 <dt>${_('Options')}</dt> |
41 h.url('files_rawfile_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))} | 41 h.url('files_rawfile_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))} |
42 </dd> | 42 </dd> |
43 </dl> | 43 </dl> |
44 <div id="body" class="codeblock"> | 44 <div id="body" class="codeblock"> |
45 <div class="code-header"> | 45 <div class="code-header"> |
46 <div class="revision">${c.file.name}@r${c.file.last_changeset.revision}:${c.file.last_changeset._short}</div> | 46 <div class="revision">${c.file.name}@r${c.file.last_changeset.revision}:${c.file.last_changeset.short_id}</div> |
47 <div class="commit">"${c.file_msg}"</div> | 47 <div class="commit">"${c.file_msg}"</div> |
48 </div> | 48 </div> |
49 <div class="code-body"> | 49 <div class="code-body"> |
50 % if c.file.size < c.file_size_limit: | 50 % if c.file.size < c.file_size_limit: |
51 ${h.pygmentize_annotation(c.file,linenos=True,anchorlinenos=True,lineanchors='S',cssclass="code-highlight")} | 51 ${h.pygmentize_annotation(c.file,linenos=True,anchorlinenos=True,lineanchors='S',cssclass="code-highlight")} |