mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [ADF-4069] Added updated license list tool * [ADF-4069] Added suggestion for licence info in sidebar
28 lines
737 B
Plaintext
28 lines
737 B
Plaintext
---
|
|
Title: License info, ADF <%= projVersion %>
|
|
---
|
|
|
|
# License information for ADF <%= projVersion %>
|
|
|
|
This page lists all third party libraries that ADF <%= projVersion %> depends on.
|
|
|
|
## Libraries
|
|
|
|
| Name | Version | License |
|
|
| -- | -- | -- |
|
|
<% for (var packageName in packages) {
|
|
var lastAtSignPos = packageName.lastIndexOf('@');
|
|
|
|
var name = packageName.substring(0, lastAtSignPos);
|
|
var version = packageName.substring(lastAtSignPos + 1);
|
|
var pack = packages[packageName];
|
|
var licenses = pack['licenseExp'] || 'N/A';
|
|
var repo = pack['repository'];
|
|
var linkedName = name;
|
|
|
|
if (repo) {
|
|
linkedName = `[${name}](${repo})`
|
|
}
|
|
-%>
|
|
| <%= linkedName %> | <%= version %> | <%= licenses %> |
|
|
<% } %> |