🎨(templates): Change language and remove gray box in demo template

This commit is contained in:
Jackie Luo 2016-05-18 15:30:11 -07:00
parent 5f7d3ac2e9
commit 58572871db
2 changed files with 8 additions and 21 deletions

View file

@ -1,18 +1,11 @@
<p>
Hi there <code class="var empty">{{First Name}}</code>,
Hey, <code class="var empty">{{First Name}}</code>!
</p>
<p>
Welcome to the Quick Replies plugin! Here you can create email templates with
<code class="var empty">{{variable regions}}</code> that you can quickly fill in
<code class="var empty">{{variables}}</code> in double curly braces that you can quickly fill
before you send your email.
</p>
<blockquote>
<p style="background: #F8F8F8; border: 1px solid #AAA; border-radius: 5px; padding: 5px;">
Just wrap text in <code class="var empty">{{double brackets}}</code> to create a variable! <b>You
can add <code class="var empty">{{variables}}</code> inside areas of formatted
text too.</b>
</p>
</blockquote>
<p>
When you send your message, the highlighting is always removed so the recipient
never sees it.

View file

@ -304,19 +304,13 @@ class PreferencesTemplates extends React.Component {
<section className="templates-instructions">
<p>
The Quick Replies plugin allows you to create templated email replies, with variables that
you can quickly replace before sending your email message. {`To create a variable, type a set of double curly
brackets wrapping the variable's name, like this`}: <strong>{"{{"}variable_name{"}}"}</strong>
</p>
<p>
Reply templates are saved in the <strong>~/.nylas/templates</strong> directory on your computer. Each template
is an HTML filethe name of the file is the name of the template, and its contents are the default message body.
</p>
<p>
In raw HTML, variables are defined as HTML &lt;code&gt; tags with class "var empty". Typing curly brackets creates a tag
automatically. The code tags are colored yellow to show the variable regions but will be removed before the message is
{`To create a variable, type a set of double curly
brackets wrapping the variable's name, like this`}: <strong>{"{{"}variable_name{"}}"}</strong>. The highlighting in the variable regions will be removed before the message is
sent.
</p>
<p>
Reply templates are saved as HTML files in the <strong>~/.nylas/templates</strong> directory on your computer. In raw HTML, variables are defined as HTML &lt;code&gt; tags with class "var empty".
</p>
</section>
</div>
);