Mercurial > kallithea
comparison 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 |
comparison
equal
deleted
inserted
replaced
1736:e2d76554d2c6 | 1737:61eda8bf70d0 |
---|---|
8 ${h.link_to(u'Home',h.url('/'))} | 8 ${h.link_to(u'Home',h.url('/'))} |
9 » | 9 » |
10 ${h.link_to(c.repo_name,h.url('files_home',repo_name=c.repo_name))} | 10 ${h.link_to(c.repo_name,h.url('files_home',repo_name=c.repo_name))} |
11 » | 11 » |
12 ${_('files')} | 12 ${_('files')} |
13 %if c.files_list: | 13 %if c.file: |
14 @ r${c.changeset.revision}:${h.short_id(c.changeset.raw_id)} | 14 @ r${c.changeset.revision}:${h.short_id(c.changeset.raw_id)} |
15 %endif | 15 %endif |
16 </%def> | 16 </%def> |
17 | 17 |
18 <%def name="page_nav()"> | 18 <%def name="page_nav()"> |
37 </div> | 37 </div> |
38 </div> | 38 </div> |
39 <script type="text/javascript"> | 39 <script type="text/javascript"> |
40 var YPJAX_TITLE = "${c.repo_name} ${_('Files')} - ${c.rhodecode_name}"; | 40 var YPJAX_TITLE = "${c.repo_name} ${_('Files')} - ${c.rhodecode_name}"; |
41 var current_url = "${h.url.current()}"; | 41 var current_url = "${h.url.current()}"; |
42 var node_list_url = '${h.url("files_home",repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.files_list.path)}'; | 42 var node_list_url = '${h.url("files_home",repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.file.path)}'; |
43 var url_base = '${h.url("files_nodelist_home",repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.files_list.path)}'; | 43 var url_base = '${h.url("files_nodelist_home",repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.file.path)}'; |
44 var truncated_lbl = "${_('search truncated')}"; | 44 var truncated_lbl = "${_('search truncated')}"; |
45 var nomatch_lbl = "${_('no matching files')}"; | 45 var nomatch_lbl = "${_('no matching files')}"; |
46 fileBrowserListeners(current_url, node_list_url, url_base, truncated_lbl, nomatch_lbl); | 46 fileBrowserListeners(current_url, node_list_url, url_base, truncated_lbl, nomatch_lbl); |
47 </script> | 47 </script> |
48 </%def> | 48 </%def> |