Skip to content

Commit 373ab07

Browse files
committed
Update the "scancode_html.template"
Signed-off-by: Chin Yeung Li <[email protected]>
1 parent 04f9159 commit 373ab07

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

templates/scancode_html.template

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
<h1>OPEN SOURCE SOFTWARE INFORMATION</h1>
1414
<h2> {{ vartext['subtitle'] }} </h2>
1515
<div>
16-
<p>Licenses, acknowledgments and required copyright notices for
16+
<p>Licenses, acknowledgments and required copyright notices for
1717
open source components:</p>
1818
</div>
19-
19+
2020
<div class="oss-table-of-contents">
2121
{% set index = namespace(value=0) %}
2222
{% for about_object in abouts %}
@@ -43,11 +43,12 @@
4343
{% set _ = captured.update({ about_object.name.value: true }) %}
4444
{% set index.value = index.value + 1 %}
4545
{% endif %}
46-
{% if about_object.copyright.value %}
47-
<pre>{{about_object.copyright.value}}</pre>
46+
{% if about_object.copyrights.value %}
47+
{% for copyright in about_object.copyrights.value %}
48+
<pre> {{ copyright['copyright'] }} </pre>
49+
{% endfor %}
4850
{% endif %}
4951

50-
5152
{% for lic_key in about_object.license_key.value %}
5253
<p>This component is licensed under {{ lic_key }}</p>
5354
{% if lic_key in common_licenses %}
@@ -80,4 +81,3 @@
8081
<i>This file was generated with AttributeCode version: {{ tkversion }} on: {{ utcnow }} (UTC)</i>
8182
</body>
8283
</html>
83-

0 commit comments

Comments
 (0)