##// END OF EJS Templates
small UI changes for pull-request view
small UI changes for pull-request view

File last commit:

r2428:530bd12f beta
r2482:1fd3c043 beta
Show More
files.html
46 lines | 1.3 KiB | text/html | HtmlLexer
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('%s Files') % c.repo_name} - ${c.rhodecode_name}
</%def>
<%def name="breadcrumbs_links()">
${h.link_to(u'Home',h.url('/'))}
&raquo;
${h.link_to(c.repo_name,h.url('files_home',repo_name=c.repo_name))}
&raquo;
${_('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)}';
fileBrowserListeners(current_url, node_list_url, url_base);
</script>
</%def>