Made it so that the metadata table only shows terms with filled values
This commit is contained in:
parent
8ccd560ca2
commit
0656de6795
@ -24,13 +24,12 @@
|
|||||||
{{ prefix }} {{ metadata_context[prefix] }}
|
{{ prefix }} {{ metadata_context[prefix] }}
|
||||||
{%- endfor %}">
|
{%- endfor %}">
|
||||||
{%- for key, value in metadata.iteritems() if not key=='@context' %}
|
{%- for key, value in metadata.iteritems() if not key=='@context' %}
|
||||||
<tr>
|
{% if value -%}
|
||||||
<td>{{ format_predicate(key) }}</td>
|
<tr>
|
||||||
{% if value -%}
|
<td>{{ format_predicate(key) }}</td>
|
||||||
<td property="{{ key }}">{{ value }}</td>
|
<td property="{{ key }}">{{ value }}</td>
|
||||||
{%- else -%}
|
</tr>
|
||||||
<td></td>
|
{%- endif -%}
|
||||||
{%- endif -%}
|
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
</table>
|
</table>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user