##// END OF EJS Templates
diffs: use whole chunk diff to calculate if it's oversized or not....
diffs: use whole chunk diff to calculate if it's oversized or not. - This fixes an issue if a file is added that has very large number of small lines. In this case the time to detect if the diff should be limited was very very long and CPU intensive.

File last commit:

r1282:90601d74 default
r2070:7939c6bf default
Show More
settings_open_source.mako
33 lines | 1.1 KiB | application/x-mako | MakoHtmlLexer
/ rhodecode / templates / admin / settings / settings_open_source.mako
templating: use .mako as extensions for template files.
r1282 <div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Licenses of Third Party Packages')}</h3>
</div>
<div class="panel-body">
<p>
RhodeCode Enterprise uses various third party packages, many of them
provided by the open source community.
</p>
% if c.opensource_licenses:
<table class="rctable dl-settings">
<thead>
<th>Product</th>
<th>License</th>
</thead>
%for product, licenses in c.opensource_licenses.items():
<tr>
<td>${product}</td>
<td>
${h.literal(', '.join([
'<a href="%(link)s" title="%(name)s">%(name)s</a>' % {'link':link, 'name':name}
if link else name
for name,link in licenses.items()]))}
</td>
</tr>
%endfor
</table>
% endif
</div>
</div>