##// END OF EJS Templates
styled the files summary box
styled the files summary box

File last commit:

r3649:cfc40d78 new-ui
r3649:cfc40d78 new-ui
Show More
files_pjax.mako
46 lines | 1.3 KiB | 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 id="pjax-content" data-title="${self.title()}">
<script>
// set the pageSource variable
var fileSourcePage = ${c.file_source_page};
</script>
<div class="summary-detail">
<div class="summary-detail-header">
<div class="breadcrumbs files_location">
<h4>
${h.files_breadcrumbs(c.repo_name,c.commit.raw_id,c.file.path)}
%if c.annotate:
- ${_('annotation')}
%endif
</h4>
</div>
</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>