files_pjax.mako
32 lines
| 798 B
| application/x-mako
|
MakoHtmlLexer
r1282 | <%def name="title(*args)"> | |||
r3648 | ${_('{} Files').format(c.repo_name)} | |||
r1282 | %if hasattr(c,'file'): | |||
r5004 | · ${(h.safe_str(c.file.path) or '\\')} | |||
r1282 | %endif | |||
%if c.rhodecode_name: | ||||
· ${h.branding(c.rhodecode_name)} | ||||
%endif | ||||
</%def> | ||||
r3655 | <div> | |||
r3648 | ||||
r1282 | <div class="summary-detail"> | |||
<div class="summary-detail-header"> | ||||
r3706 | ||||
r1282 | </div><!--end summary-detail-header--> | |||
r5261 | % if c.file.is_dir() or c.file.is_submodule(): | |||
r3648 | <%include file='files_tree_header.mako'/> | |||
r1282 | % else: | |||
r3648 | <%include file='files_source_header.mako'/> | |||
r1282 | % endif | |||
</div> <!--end summary-detail--> | ||||
r5261 | ||||
% if c.file.is_dir() or c.file.is_submodule(): | ||||
r1282 | <%include file='files_browser.mako'/> | |||
% else: | ||||
<%include file='files_source.mako'/> | ||||
% endif | ||||
r3648 | </div> | |||