##// END OF EJS Templates
settings: re-use attached request global config for performance...
settings: re-use attached request global config for performance - since we *always* generate a global config and register it into request make use of it, and not rely on the get_all_settings heavy logic that makes it slow to fetch because of cache checks. Within single request we're fine to re-use it when ever request attribute is available

File last commit:

r3706:9aa2b595 new-ui
r4200:007322e6 stable
Show More
files_pjax.mako
34 lines | 872 B | application/x-mako | MakoHtmlLexer
<%def name="title(*args)">
${_('{} Files').format(c.repo_name)}
%if hasattr(c,'file'):
&middot; ${(h.safe_unicode(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_submodule():
<span class="submodule-dir">Submodule ${h.escape(c.file.name)}</span>
% elif c.file.is_dir():
<%include file='files_tree_header.mako'/>
% else:
<%include file='files_source_header.mako'/>
% endif
</div> <!--end summary-detail-->
% if c.file.is_dir():
<%include file='files_browser.mako'/>
% else:
<%include file='files_source.mako'/>
% endif
</div>