From f9ebc77919cabbafbcd5ecbf0eb0290501e214d1 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 4 May 2015 12:09:23 +0530 Subject: [PATCH] [print format builder] added jinja help --- .../page/print_format_builder/print_format_builder.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frappe/print/page/print_format_builder/print_format_builder.js b/frappe/print/page/print_format_builder/print_format_builder.js index 883fd55620..ce4fff51a2 100644 --- a/frappe/print/page/print_format_builder/print_format_builder.js +++ b/frappe/print/page/print_format_builder/print_format_builder.js @@ -538,6 +538,14 @@ frappe.PrintFormatBuilder = Class.extend({ fieldname: "content", fieldtype: "Text Editor", label: label + }, + { + fieldname: "help", + fieldtype: "HTML", + options: '

' + + __("You can add dynamic properties from the document by using Jinja templating.") + + __("For example: If you want to include the document ID, use {0}", ["{{ doc.name }}"]) + + '

' } ] });