files.html
48 lines
| 1.4 KiB
| text/html
|
HtmlLexer
r547 | <%inherit file="/base/base.html"/> | |||
<%def name="title()"> | ||||
Vincent Duvert
|
r2417 | ${_('%s Files') % c.repo_name} - ${c.rhodecode_name} | ||
r547 | </%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')} | ||||
r1737 | %if c.file: | |||
r644 | @ r${c.changeset.revision}:${h.short_id(c.changeset.raw_id)} | |||
r1888 | %endif | |||
r547 | </%def> | |||
<%def name="page_nav()"> | ||||
r1888 | ${self.menu('files')} | |||
r547 | </%def> | |||
<%def name="main()"> | ||||
<div class="box"> | ||||
<!-- box / title --> | ||||
<div class="title"> | ||||
r644 | ${self.breadcrumbs()} | |||
<ul class="links"> | ||||
<li> | ||||
<span style="text-transform: uppercase;"><a href="#">${_('branch')}: ${c.changeset.branch}</a></span> | ||||
r1888 | </li> | |||
</ul> | ||||
r547 | </div> | |||
<div class="table"> | ||||
<div id="files_data"> | ||||
r1699 | <%include file='files_ypjax.html'/> | |||
r1888 | </div> | |||
r547 | </div> | |||
r1888 | </div> | |||
r1699 | <script type="text/javascript"> | |||
var YPJAX_TITLE = "${c.repo_name} ${_('Files')} - ${c.rhodecode_name}"; | ||||
var current_url = "${h.url.current()}"; | ||||
r1749 | var node_list_url = '${h.url("files_home",repo_name=c.repo_name,revision=c.changeset.raw_id,f_path='__FPATH__')}'; | |||
r1737 | var url_base = '${h.url("files_nodelist_home",repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.file.path)}'; | |||
r1705 | var truncated_lbl = "${_('search truncated')}"; | |||
var nomatch_lbl = "${_('no matching files')}"; | ||||
fileBrowserListeners(current_url, node_list_url, url_base, truncated_lbl, nomatch_lbl); | ||||
r1699 | </script> | |||
r1888 | </%def> | |||