Mercurial > kallithea
view rhodecode/templates/files/files.html @ 2095:17c9393e9645 beta
docs
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 02 Mar 2012 22:14:03 +0200 |
parents | f91d3f9b7230 |
children | 76d156bef5a2 |
line wrap: on
line source
<%inherit file="/base/base.html"/> <%def name="title()"> ${c.repo_name} ${_('Files')} - ${c.rhodecode_name} </%def> <%def name="breadcrumbs_links()"> ${h.link_to(u'Home',h.url('/'))} » ${h.link_to(c.repo_name,h.url('files_home',repo_name=c.repo_name))} » ${_('files')} %if c.file: @ r${c.changeset.revision}:${h.short_id(c.changeset.raw_id)} %endif </%def> <%def name="page_nav()"> ${self.menu('files')} </%def> <%def name="main()"> <div class="box"> <!-- box / title --> <div class="title"> ${self.breadcrumbs()} <ul class="links"> <li> <span style="text-transform: uppercase;"><a href="#">${_('branch')}: ${c.changeset.branch}</a></span> </li> </ul> </div> <div class="table"> <div id="files_data"> <%include file='files_ypjax.html'/> </div> </div> </div> <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='__FPATH__')}'; 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); </script> </%def>