Skip to content

EspoCRM – Open Source CRM Application

Template body tooltip

Yurii10691f469ab6
diff --git a/application/Espo/Resources/i18n/en_US/Template.json b/application/Espo/Resources/i18n/en_US/Template.json
index 6aab105317..479bad9d50 100644
--- a/application/Espo/Resources/i18n/en_US/Template.json
+++ b/application/Espo/Resources/i18n/en_US/Template.json
@@ -49,6 +49,7 @@
"fontFace": {}
},
"tooltips": {
+ "body": "See the [documentation](https://docs.espocrm.com/user-guide/printing-to-pdf/#templates).\n\nUse Code View for precise markup editing.\n\nAdditional tag attributes:\n- `x-if`\n- `iterate`",
"filename": "An optional filename. Entity attributes can be used as placeholders.\n\nAdditional placeholder:\n- `{{today}}`\n\nExample:\n`Document_{{today}}_{{name}}`",
"footer": "Use {pageNumber} to print page number.",
"variables": "Copy-paste needed placeholder to Header, Body or Footer."
diff --git a/application/Espo/Resources/metadata/entityDefs/Template.json b/application/Espo/Resources/metadata/entityDefs/Template.json
index 4f74381390..7bafd0f6a7 100644
--- a/application/Espo/Resources/metadata/entityDefs/Template.json
+++ b/application/Espo/Resources/metadata/entityDefs/Template.json
@@ -7,7 +7,8 @@
},
"body": {
"type": "wysiwyg",
- "view": "views/template/fields/body"
+ "view": "views/template/fields/body",
+ "tooltip": true
},
"header": {
"type": "wysiwyg",