feat: emails on messages

This commit is contained in:
pateljannat
2021-03-31 10:48:23 +05:30
parent bc4503a636
commit bf789c1891
8 changed files with 128 additions and 27 deletions

View File

@@ -0,0 +1,12 @@
{% for batch in batches %}
<h3> {{ batch }}</h3>
<div>
{% for message in batches[batch] %}
<div style="border: 1px solid #DBDBDB;padding: 10px; margin: 10px;">
<p> {{ frappe.utils.md_to_html(message.message) }} </p>
<p class="text-right">By {{message.author}}</p>
<div class="small text-muted text-right">{{ frappe.utils.format_datetime(message.creation, "medium") }}</div>
</div>
{% endfor %}
</div>
{% endfor %}