[fix] [hot] compact print: check in_format_data for print format builder prints
This commit is contained in:
parent
e66b6ce01f
commit
ad61a28730
@ -35,7 +35,7 @@
|
||||
|
||||
{% if compact -%}
|
||||
{%- for fieldname in doc.flags.show_in_description -%}
|
||||
{% if doc.get(fieldname) -%}
|
||||
{% if doc.get(fieldname) and doc.in_format_data(fieldname) -%}
|
||||
<p>
|
||||
<strong>{{ _(doc.meta.get_label(fieldname)) }}:</strong>
|
||||
{{ doc.get_formatted(fieldname, translated=True) }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user