diff --git a/templates/default_html.template b/templates/default_html.template index 577da122..64e7d326 100644 --- a/templates/default_html.template +++ b/templates/default_html.template @@ -30,84 +30,74 @@ See "get_license_file_key" in `attrib.py` for more information
Licenses, acknowledgments and required copyright notices for - open source components:
+Licenses, acknowledgments and required copyright notices for open source components:
This component is licensed under - {{ about_object.license_expression.value }} - {% endif %} - {% if about_object.copyright.value %} -
{{about_object.copyright.value}}
- {% endif %}
- {% if about_object.notice_file.value %}
- {% for notice in about_object.notice_file.value %}
- {{ about_object.notice_file.value[notice] }}
- {% endfor %}
- {% endif %}
- {% if about_object.license_key.value %}
- {% for license_key in about_object.license_key.value %}
- {% if license_key in common_licenses %}
- Full text of - - {{ license_key }} - - is available at the end of this document.
- {% endif %} - {% endfor %} - {% if about_object.license_file.value %} - {% for lic_file_name in about_object.license_file.value %} - {% if not license_file_key_and_license_key[license_file_name_and_license_file_key[lic_file_name]] in common_licenses %} - {% if about_object.license_file.value[lic_file_name] %} -{{ about_object.license_file.value[lic_file_name] | e}}
- {% endif %}
- {% endif %}
- {% endfor %}
- {% endif %}
- {% else %}
- {% if about_object.license_file.value %}
- {% for lic_file_name in about_object.license_file.value %}
- {% if about_object.license_file.value[lic_file_name] %}
- {{ about_object.license_file.value[lic_file_name] | e}}
- {% endif %}
- {% endfor %}
- {% endif %}
- {% endif %}
- {{ license_file_key_and_context[key]|e }}
- {% endif %}
- {% endfor %}
-
- This component is licensed under {{ about_object.license_expression.value }}
+{% endif %} +{% if about_object.copyright.value %} +
+{{about_object.copyright.value}}
+
+{% endif %}
+{% if about_object.notice_file.value %}
+{% for notice in about_object.notice_file.value %}
+
+{{ about_object.notice_file.value[notice] }}
+
+{% endfor %}
+{% endif %}
+{% if about_object.license_key.value %}
+{% for license_key in about_object.license_key.value %}
+{% if license_key in common_licenses %}
+ Full text of {{ license_key }} is available at the end of this document.
+{% endif %} +{% endfor %} +{% if about_object.license_file.value %} +{% for lic_file_name in about_object.license_file.value %} +{% if not license_file_key_and_license_key[license_file_name_and_license_file_key[lic_file_name]] in common_licenses %} +{% if about_object.license_file.value[lic_file_name] %} +
+{{ about_object.license_file.value[lic_file_name] | e}}
+
+{% endif %}
+{% endif %}
+{% endfor %}
+{% endif %}
+{% else %}
+{% if about_object.license_file.value %}
+{% for lic_file_name in about_object.license_file.value %}
+{% if about_object.license_file.value[lic_file_name] %}
+
+{{ about_object.license_file.value[lic_file_name] | e}}
+
+{% endif %}
+{% endfor %}
+{% endif %}
+{% endif %}
+
+{{ license_file_key_and_context[key]|e }}
+
+{% endif %}
+{% endfor %}
+