浏览代码

[print format builder] added jinja help

version-14
Rushabh Mehta 10 年前
父节点
当前提交
f9ebc77919
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. +8
    -0
      frappe/print/page/print_format_builder/print_format_builder.js

+ 8
- 0
frappe/print/page/print_format_builder/print_format_builder.js 查看文件

@@ -538,6 +538,14 @@ frappe.PrintFormatBuilder = Class.extend({
fieldname: "content", fieldname: "content",
fieldtype: "Text Editor", fieldtype: "Text Editor",
label: label label: label
},
{
fieldname: "help",
fieldtype: "HTML",
options: '<p>'
+ __("You can add dynamic properties from the document by using Jinja templating.")
+ __("For example: If you want to include the document ID, use {0}", ["<code>{{ doc.name }}</code>"])
+ '</p>'
} }
] ]
}); });


正在加载...
取消
保存