Mercurial > kallithea
diff pylons_app/templates/files/files_source.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 | 15f837c62fa5 |
children |
line wrap: on
line diff
--- a/pylons_app/templates/files/files_source.html Tue Sep 28 20:14:16 2010 +0000 +++ b/pylons_app/templates/files/files_source.html Tue Sep 28 20:25:58 2010 +0000 @@ -1,8 +1,8 @@ <dl> <dt>${_('Last revision')}</dt> <dd> - ${h.link_to("r%s:%s" % (c.files_list.last_changeset.revision,c.files_list.last_changeset._short), - h.url('files_home',repo_name=c.repo_name,revision=c.files_list.last_changeset._short,f_path=c.f_path))} + ${h.link_to("r%s:%s" % (c.files_list.last_changeset.revision,c.files_list.last_changeset.short_id), + h.url('files_home',repo_name=c.repo_name,revision=c.files_list.last_changeset.short_id,f_path=c.f_path))} </dd> <dt>${_('Size')}</dt> <dd>${h.format_byte_size(c.files_list.size,binary=True)}</dd> @@ -20,8 +20,8 @@ <dd> <div> ${h.form(h.url('files_diff_home',repo_name=c.repo_name,f_path=c.f_path),method='get')} - ${h.hidden('diff2',c.files_list.last_changeset._short)} - ${h.select('diff1',c.files_list.last_changeset._short,c.file_history)} + ${h.hidden('diff2',c.files_list.last_changeset.short_id)} + ${h.select('diff1',c.files_list.last_changeset.short_id,c.file_history)} ${h.submit('diff','diff to revision',class_="ui-button ui-widget ui-state-default ui-corner-all")} ${h.submit('show_rev','show at revision',class_="ui-button ui-widget ui-state-default ui-corner-all")} ${h.end_form()} @@ -32,7 +32,7 @@ <div id="body" class="codeblock"> <div class="code-header"> - <div class="revision">${c.files_list.name}@r${c.files_list.last_changeset.revision}:${c.files_list.last_changeset._short}</div> + <div class="revision">${c.files_list.name}@r${c.files_list.last_changeset.revision}:${c.files_list.last_changeset.short_id}</div> <div class="commit">"${c.files_list.last_changeset.message}"</div> </div> <div class="code-body">