summaryrefslogtreecommitdiffstats
path: root/askbot/templates/email/notify_author_about_approved_post.html
blob: 24601775f8bb19462ed92ed536d5df403fcafa05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{% extends "email/base_mail.html"%}

{#
    parameters:
    * reply_separator_line
    * replace_content_address
    * mailto_link_subject
    * post
    * reply_code (comma-separated list of emails to respond to this message)
#}

{%block content %}
{{ reply_separator_line }}
<p>{% trans 
        post_text = post.text|safe_urlquote,
        subject = mailto_link_subject|safe_urlquote,
        author_email_signature = author_email_signature|safe_urlquote
%}If you would like to edit by email, please
<a href="mailto:{{ replace_content_address }}?body={{ post_text }}{{ author_email_signature}}&subject={{ subject }}">click here</a>{% endtrans %}</p>
<p>{% trans %}Below is a copy of your post:{% endtrans %}</p>
{% if post.post_type == 'question' %}
    <p style="font-size:16px">{{ post.thread.title }}</p>
{% endif %}
{{ post.html }}
{% endblock %}

{%block footer %}
{% include "email/footer.html" %}
<p style="{{ macros.fine_print_style() }}">{{ email_code }}</p>{# important #}
{% endblock %}