##// END OF EJS Templates
file-browser: refactor how we load metadata for file trees....
file-browser: refactor how we load metadata for file trees. Before we used to use JSON data to map the nodes to json and fill in metadata. Now we use rendered parts of html. This is nicer for caching as it would allow us to replace the view with cached tree and then after ajax load replace it again with cached with metadata. On the next request we'll get the cached with metadata and thus we can skip entirely second ajax call for metadata. This is part of #4083

File last commit:

r200:1971c6fe default
r423:9930e2c8 default
Show More
settings_open_source.html
33 lines | 1.1 KiB | text/html | HtmlLexer
<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>