unrhodecode/rhodecode/templates/files/files_pjax.mako
RhodeCode Admin 2b92d7fa48 fix(submodules): fixed an error if reaching out submodule path.
- small UI fixes
- cleanups of submodule code
2024-01-10 11:22:57 +01:00

32 lines
798 B
Mako

<%def name="title(*args)">
${_('{} Files').format(c.repo_name)}
%if hasattr(c,'file'):
&middot; ${(h.safe_str(c.file.path) or '\\')}
%endif
%if c.rhodecode_name:
&middot; ${h.branding(c.rhodecode_name)}
%endif
</%def>
<div>
<div class="summary-detail">
<div class="summary-detail-header">
</div><!--end summary-detail-header-->
% if c.file.is_dir() or c.file.is_submodule():
<%include file='files_tree_header.mako'/>
% else:
<%include file='files_source_header.mako'/>
% endif
</div> <!--end summary-detail-->
% if c.file.is_dir() or c.file.is_submodule():
<%include file='files_browser.mako'/>
% else:
<%include file='files_source.mako'/>
% endif
</div>