Skip to content

Commit a57c6fa

Browse files
committed
Update default attrib html template
Signed-off-by: Chin Yeung Li <[email protected]>
1 parent cb8ded5 commit a57c6fa

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/attributecode/templates/default_html.template

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,15 @@
5050
{{ license_key }}
5151
</a>
5252
is available at the end of this document.</p>
53-
{% else %}
54-
{% if about_object.license_file.value %}
55-
{% for lic_file_name in about_object.license_file.value %}
56-
{% if not license_file_name_and_key[lic_file_name] in common_licenses %}
57-
<pre>{{ about_object.license_file.value[lic_file_name] | e}}</pre>
58-
{% endif %}
59-
{% endfor %}
60-
{% endif %}
6153
{% endif %}
6254
{% endfor %}
55+
{% if about_object.license_file.value %}
56+
{% for lic_file_name in about_object.license_file.value %}
57+
{% if not license_file_name_and_key[lic_file_name] in common_licenses %}
58+
<pre>{{ about_object.license_file.value[lic_file_name] | e}}</pre>
59+
{% endif %}
60+
{% endfor %}
61+
{% endif %}
6362
{% else %}
6463
{% if about_object.license_file.value %}
6564
{% for lic_file_name in about_object.license_file.value %}

0 commit comments

Comments
 (0)