From dc65ca56089dbdada96c6bc58fd2d88c48347400 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 8 Oct 2015 16:23:28 +0530 Subject: [PATCH] [print] added css classname for document-status and page-number --- frappe/templates/print_formats/standard_macros.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frappe/templates/print_formats/standard_macros.html b/frappe/templates/print_formats/standard_macros.html index 660e232ccd..52a93c23db 100644 --- a/frappe/templates/print_formats/standard_macros.html +++ b/frappe/templates/print_formats/standard_macros.html @@ -126,16 +126,16 @@ data-fieldname="{{ df.fieldname }}" data-fieldtype="{{ df.fieldtype }}" {% endif %} {%- if doc.meta.is_submittable and doc.docstatus==0-%} -
+

{{ _("DRAFT") }}

{%- endif -%} {%- if doc.meta.is_submittable and doc.docstatus==2-%} -
+

{{ _("CANCELLED") }}

{%- endif -%} {% if max_pages > 1 %} -

{{ _("Page #{0} of {1}").format(page_num, max_pages) }}

+

{{ _("Page #{0} of {1}").format(page_num, max_pages) }}

{% endif %} {%- endmacro -%}