Mercurial > kallithea
diff rhodecode/templates/files/files.html @ 1737:61eda8bf70d0 beta
new files views
- compated space
- nicer gui
- code garden
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 27 Nov 2011 03:17:17 +0200 |
parents | 5e4827a8e942 |
children | 8ecc6b8229a5 |
line wrap: on
line diff
--- a/rhodecode/templates/files/files.html Sun Nov 27 01:36:39 2011 +0200 +++ b/rhodecode/templates/files/files.html Sun Nov 27 03:17:17 2011 +0200 @@ -10,7 +10,7 @@ ${h.link_to(c.repo_name,h.url('files_home',repo_name=c.repo_name))} » ${_('files')} - %if c.files_list: + %if c.file: @ r${c.changeset.revision}:${h.short_id(c.changeset.raw_id)} %endif </%def> @@ -39,8 +39,8 @@ <script type="text/javascript"> var YPJAX_TITLE = "${c.repo_name} ${_('Files')} - ${c.rhodecode_name}"; var current_url = "${h.url.current()}"; -var node_list_url = '${h.url("files_home",repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.files_list.path)}'; -var url_base = '${h.url("files_nodelist_home",repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.files_list.path)}'; +var node_list_url = '${h.url("files_home",repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.file.path)}'; +var url_base = '${h.url("files_nodelist_home",repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.file.path)}'; var truncated_lbl = "${_('search truncated')}"; var nomatch_lbl = "${_('no matching files')}"; fileBrowserListeners(current_url, node_list_url, url_base, truncated_lbl, nomatch_lbl);