add help_links.js

This commit is contained in:
Faris Ansari
2016-08-22 14:36:57 +05:30
parent 64e0d16e6d
commit 3a6155b1b9
4 changed files with 169 additions and 6 deletions

View File

@@ -30,7 +30,7 @@ To setup an Email Alert:
### Setting a Subject
You can retrieve the data for a particular field by using `doc.[field_name]`. To use it in your subject / message, you have to surround it with `{{ }}`. These are called [Jinja](http://jinja.pocoo.org/) tags. So, for example to get the name of a document, you use `{{ doc.name }}`. The below example sends an email on saving a Task with the Subject, "TASK##### has been created"
You can retrieve the data for a particular field by using `doc.[field_name]`. To use it in your subject / message, you have to surround it with `{% raw %}{{ }}{% endraw %}`. These are called [Jinja](http://jinja.pocoo.org/) tags. So, for example to get the name of a document, you use `{% raw %}{{ doc.name }}{% endraw %}`. The below example sends an email on saving a Task with the Subject, "TASK##### has been created"
<img class="screenshot" alt="Setting Subject" src="{{docs_base_url}}/assets/img/setup/email/email-alert-subject.png">
@@ -44,7 +44,7 @@ The above example will send an Email Alert when a Task is saved with the status
### Setting a Message
You can use both Jinja Tags (`{{ doc.[field_name] }}`) and HTML tags in the message textbox.
You can use both Jinja Tags (`{% raw %}{{ doc.[field_name] }}{% endraw %}`) and HTML tags in the message textbox.
{% raw %}<h3>Order Overdue</h3>

View File

@@ -5,6 +5,6 @@ WORK IN PROGRESS
Select your language
1. [English](en)
1. [Deutsch](de)
1. [Español](es)
1. [English]({{docs_base_url}}/user/manual/en)
1. [Deutsch]({{docs_base_url}}/user/manual/de)
1. [Español]({{docs_base_url}}/user/manual/es)