@@ -41,11 +41,7 @@ <h1>OPEN SOURCE SOFTWARE INFORMATION</h1>
4141
4242 < div class ="oss-table-of-contents ">
4343 {% for about_object in about_objects %}
44- < p > < a href ="#component_{{ loop.index0 }} "> {{ about_object.name }}
45- {% if about_object.version %}
46- {{ about_object.version }}
47- {% endif %}
48- </ a > </ p >
44+ < p > < a href ="#component_{{ loop.index0 }} "> {{ about_object.name }}{% if about_object.version %} {{ about_object.version }}{% endif %}</ a > </ p >
4945 {% endfor %}
5046 </ div >
5147
@@ -67,13 +63,29 @@ <h3 class="component-name">{{ about_object.name }}
6763 {% elif about_object.notice_file %}
6864 < pre class ="component-notice "> {{ about_object.notice_text }}</ pre >
6965 {% endif %}
70- {% if about_object.license_text %}
71- < pre > {{about_object.license_text | e}}</ pre >
66+ {% if about_object.dje_license_name in common_licenses %}
67+ < p > Full text of
68+ < a class ="{{ about_object.dje_license_name }} " href ="#component-license-{{ about_object.dje_license_name }} ">
69+ {{ about_object.dje_license_name }}
70+ </ a >
71+ is available at the end of this document.</ p >
72+ {% else %}
73+ {% if about_object.license_text %}
74+ < pre > {{about_object.license_text | e}}</ pre >
75+ {% endif %}
7276 {% endif %}
7377 </ div >
7478 {% endfor %}
7579 < hr >
7680
81+ < h3 > Common Licenses Used in This Product</ h3 >
82+ {% for index in range(license_keys | count) %}
83+ {% if license_keys[index] in common_licenses %}
84+ < h3 id ="component-license-{{ license_keys[index] }} "> {{ license_keys[index] }}</ h3 >
85+ < pre > {{ license_texts[index]|e }}</ pre >
86+ {% endif %}
87+ {% endfor %}
88+
7789 < h3 > < a id ="End "> End</ a > </ h3 >
7890 </ body >
7991</ html >
0 commit comments