From 9f30da76e4b237f616fda667bc836e1614a89503 Mon Sep 17 00:00:00 2001 From: Maharshi Patel Date: Thu, 11 Apr 2024 12:33:44 +0530 Subject: [PATCH] chore: fix render empty field for page field #220 --- .../page/print_designer/jinja/old_print_format.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/print_designer/print_designer/page/print_designer/jinja/old_print_format.html b/print_designer/print_designer/page/print_designer/jinja/old_print_format.html index 8945ea4..7e0e1cf 100644 --- a/print_designer/print_designer/page/print_designer/jinja/old_print_format.html +++ b/print_designer/print_designer/page/print_designer/jinja/old_print_format.html @@ -155,7 +155,7 @@ {% macro render_spantag(field, element, row = {}, send_to_jinja = {}) -%} {% set span_value = render_spanvalue(field, element, row, send_to_jinja) %} -{%- if span_value -%} +{%- if span_value or field.fieldname in ['page', 'topage', 'time', 'date'] -%} {% if not field.is_static and field.is_labelled %}