We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85eea67 commit ad7b9acCopy full SHA for ad7b9ac
ckanext/scheming/templates/scheming/package/snippets/additional_info.html
@@ -8,12 +8,18 @@
8
'tag_string',
9
'license_id',
10
'owner_org',
11
+ 'dpp_suggestions'
12
] -%}
13
14
{% block package_additional_info %}
15
{%- for field in schema.dataset_fields -%}
16
{%- if field.field_name not in exclude_fields
- and field.display_snippet is not none -%}
17
+ and field.display_snippet is not none
18
+ and field.field_name in pkg_dict
19
+ and pkg_dict[field.field_name]
20
+ and pkg_dict[field.field_name] != ""
21
+ and pkg_dict[field.field_name] != []
22
+ and pkg_dict[field.field_name] != {} -%}
23
<tr>
24
<th scope="row" class="dataset-label">{{
25
h.scheming_language_text(field.label) }}</th>
0 commit comments